From b790e4875b47e2951a65eedd36dc661079667541 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 10 Apr 2018 10:51:03 +0200 Subject: Install instructions --- INSTALL.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 INSTALL.md (limited to 'INSTALL.md') 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 -- cgit v1.2.3