Skip to content

Commit

Permalink
Add basic-manual-git-install.sh and link from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
guyfawcus committed Apr 23, 2014
1 parent 91661c5 commit 875c856
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/installation/basic-manual-git-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
echo -e "==> Make and cd to ./ArchMap\n"
mkdir ArchMap && cd ArchMap

echo -e "\n\n==> Download the ArchMap repo from GitHub\n"
git clone https://github.com/maelstrom59/ArchMap.git ArchMap-git

echo -e "\n\n==> Download the geojsonio.py repo from GitHub so you can use --geojsonio\n"
git clone https://github.com/jwass/geojsonio.py.git geojsonio.py-git

echo -e "\n\n==> Install the required packages\n"
pip install -r ArchMap-git/requirements.txt

echo -e "\n\n==> Link the geojsonio module into the ArchMap-git directory\n"
cd ArchMap-git && ln -s ../geojsonio.py-git/geojsonio/geojsonio.py

echo -e "\n\n==> Make an easy link to archmap.py\n"
cd ../ && ln -s ArchMap-git/archmap.py

echo -e "\n\n==> Test by printing the help message\n"
./archmap.py --help
11 changes: 11 additions & 0 deletions docs/installation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ How-to

Packaging is currently being worked on...

Manual git install
^^^^^^^^^^^^^^^^^^

This will make a directory ``ArchMap/`` with a link to ``archmap.py`` in it.
It uses *git* and *pip* to resolve the dependencies.

Download :download:`this script <basic-manual-git-install.sh>`:

.. literalinclude:: basic-manual-git-install.sh
:language: bash


Support
-------
Expand Down

0 comments on commit 875c856

Please sign in to comment.