...
In a first instance, we have installed SeisFinder v2 on dev01-quakecore. This is the machine where our beta testers will use it.
If you are using the dev01-quakecore server, go straight to step 6 in the following installation instruction.
Pre-requirements
The following version of software must be installed:
...
(1)First, start the Django server
Code Block |
---|
$cd seisfinder2 # if running local host /seisfinder2 $ python manage.py runserver # if running from the dev01-quakecore server /seisfinder2 $ python manage.py runserver 132.181.39.127:8000 # else use 'ifconfig' to figure out the IP address of your server |
(2) Now the server is running, let's insert CSV data.
Open a browser, go to the following address and the insertion will start automatically, you'll see lots of terminal output.
Code Block |
---|
# The 'root_dir=' is the absolute path where you just put the copied data in step 4. Eg. # local host: http://127.0.0.1:8000/seisfinderapp/insert?root_dir=home/gg999/seisfinder2/seis2Data/csv_data |
...
# dev01-quakcore:
http://132.181.39.127:8000/seisfinderapp/insert?root_dir=/var/www/seis2Data/csv_data |
After about 9 minutes, if the CSV data is inserted successfully, terminal output: final result=OK.
...