diff options
author | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
commit | 34a381efa8f6295080c843f86bfa07d4e41056af (patch) | |
tree | 9282cf5d4c876688602705a7fa0002bc4a810bde /doc/details/development.md | |
parent | 0a72bc6fd292bf9367b314fcb0347c4d35042f16 (diff) | |
parent | 5821964ff7e16ca7aa9141bd09a77d355db492a9 (diff) |
Merge branch 'develop'
Diffstat (limited to 'doc/details/development.md')
-rw-r--r-- | doc/details/development.md | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/doc/details/development.md b/doc/details/development.md deleted file mode 100644 index 78915add..00000000 --- a/doc/details/development.md +++ /dev/null @@ -1,78 +0,0 @@ -@title = 'Development' -@summary = "Getting started with making changes to the LEAP platform" - -Installing leap_cli ------------------------------------------------- - -### From gem, for a single user - -Install the latest: - - gem install leap_cli --install-dir ~/leap - export PATH=$PATH:~/leap/bin - -Install a particular version: - - gem install leap_cli --version 1.8 --install-dir ~/leap - export PATH=$PATH:~/leap/bin - -### From gem, system wide - -Install the latest: - - sudo gem install leap_cli - -Install a particular version: - - sudo gem install leap_cli --version 1.8 - -### As a gem, built from source - - sudo apt-get install ruby ruby-dev rake - git clone https://leap.se/git/leap_cli.git - cd leap_cli - git checkout develop - rake build - sudo rake install - -### The "develop" branch from source, for a single user - - sudo apt-get install ruby ruby-dev rake - git clone https://leap.se/git/leap_cli.git - cd leap_cli - git checkout develop - -Then do one of the following to be able to run `leap` command: - - cd leap_cli - export PATH=$PATH:`pwd`/bin - alias leap="`pwd`/bin/leap" - ln -s `pwd`/bin/leap ~/bin/leap - -In practice, of course, you would put aliases or PATH modifications in a shell startup file. - -You can also clone from https://github.com/leap/leap_cli - -Running different leap_cli versions ---------------------------------------------- - -### If installed as a gem - -With rubygems, you can always specify the gem version as the first argument to any executable installed by rubygems. For example: - - sudo gem install leap_cli --version 1.7.2 - sudo gem install leap_cli --version 1.8 - leap _1.7.2_ --version - => leap 1.7.2, ruby 2.1.2 - leap _1.8_ --version - => leap 1.8, ruby 2.1.2 - -### If running from source - -Alternately, if you are running from source, you can alias different commands: - - git clone https://leap.se/git/leap_cli.git - cd leap_cli - git checkout develop - alias leap_develop="`pwd`/bin/leap` - |