Git Product home page Git Product logo

mindhive's Introduction

Mindhive

Environment Setup

  1. First get a github account
  1. Setup git on mindhive.
  1. Setup your ssh key ! Follow steps 1 & 2 in 'github:help':
>>> cat id_dsa.pub
or
>>> cat id_rsa.pub
copy the key to your github account settings-->SSH Keys-->add SSH key
  1. Fork the mindhive repository. Then in a terminal:
>>> cd place/to/keep/repository
>>> git clone git@github.com/your_user_name/mindhive.git
>>> cd mindhive
>>> git remote add upstream https://github.com/gablab/mindhive.git
  1. Set up symlinks to the repository in your home folder
>>> cd /place/of/repository
>>> python setup.py
  1. Make sure you have a symlinked .bash_profile and .bashrc:
>>> cd
>>> ls -la

Examples

Set your project environment to the SAD project:

>>> sad_env

You should see your prompt say "SAD"

Create a pointer to the mindhive repository for the latest project environments:

>>> cd /place/of/repository
>>> git fetch upstream
>>> git merge upstream/master

To add an environment to the mindhive repository, make a separate environment shell script in the .env (called .my_project_environment in the example) in the mindhive repository folder. Then edit the .projects file to add a function:

function my_project_env()
{

source ~/.env/.my_project_environment

}

Commit and push the file up to your repository

>>> cd /place/of/mindhive/repo
>>> git add .env/.my_project_environment
>>> git add .projects
>>> git commit -m "added my project's environment"
>>> git push origin master

Test and send a pull request to gablab/mindhive for someone else to review and merge your changes.

https://github.com/gablab/mindhive/pulls

Adding SPM path

To add spm paths, setup an environment variable in your project environment file.

export SPM_PATH=/software/spm8_r5236/

and then edit $HOME/matlab/startup.m to include these lines (remove any lines adding SPM path)

spm_path = getenv('SPM_PATH');
if spm_path,
   addpath(spm_path);
end

GIT Tutorials

Here are some great GIT tutorials:

http://nbviewer.ipython.org/urls/github.com/fperez/reprosw/raw/master/Version%2520Control.ipynb

http://mluessi.github.com/intro-to-git-and-github/#slide1

mindhive's People

Contributors

satra avatar akeshavan avatar cccbauer avatar zhenghanq avatar annepark avatar mattfeld avatar egeiser avatar kokano avatar tylerper avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.