diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-04-10 10:51:03 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-04-10 10:51:03 +0200 |
commit | da7803b9cc920cad30d0c19bb503f2360bcc8dc3 (patch) | |
tree | 3c3f96157cc822530ff8c600a086fd4b6f6f696a /INSTALL.md | |
parent | 31abc384f812068b3ad5d87568b2ea695c25b8a9 (diff) | |
download | Ishtar-da7803b9cc920cad30d0c19bb503f2360bcc8dc3.tar.bz2 Ishtar-da7803b9cc920cad30d0c19bb503f2360bcc8dc3.zip |
Install instructions
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 000000000..96a04f985 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,49 @@ +Install +======= + +Install from Git +---------------- + +This procedure only works for Debian Jessie/Stretch for now. +If you know bash and your distribution the script should be easy to adapt (contributions are welcomed!). + +``` +# get the last install script (only work for Debian) +wget https://ishtar-archeo.net/install/install-ishtar-latest.tar.bz2 +tar xvjf install-ishtar-latest.tar.bz2 +rm install-ishtar-latest.tar.bz2 + +# install Ishtar script +cd install +bash ./install-ishtar.sh +``` + +``` +• Default PostgreSQL host? [localhost] +• Which webserver do you want to use? ([nginx]/none) +• Which version would you like to use? ([develop]/master) +• Which base install path for Ishtar? [/srv/] +``` +``` +# create a new instance +bash ./ishtar-prepare-instance +``` + +``` +• Which instance code name? [my_ishtar_instance] +• Which url? my_ishtar_instance.net +``` + +``` +# you would probably like to load a fixture with towns (french dataset here) +cd /srv +mkdir data +cd data +wget "https://ishtar-archeo.net/fixtures/initial_towns-fr-latest.tar.bz2" +tar xvjf initial_towns-fr-latest.tar.bz2 +rm initial_towns-fr-latest.tar.bz2 + +cd /srv/ishtar/my_ishtar_instance +./manage.py loaddata /srv/data/towns_norel-fr.json +./manage.py loaddata /srv/data/towns-fr.json +```
\ No newline at end of file |