...
Code Block |
---|
$cd seisfinder2 # if running local host /seisfinder2 $ python manage.py runserver # if running from the dev01-quakecore server # first change file permission use: /seisfinder2 $ chmod 755 /var/www/seis2Data/seisfinder2Data/CSV/ # then /seisfinder2 $ sudo python manage.py runserver 132.181.39.127:8000 # else use 'ifconfig' to figure out the IP address of your server |
...
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/seisfinder2Data/seis2DataCSV/csv_dataCybershake_v17p8&type=cybershake # dev01-quakcore: http://132.181.39.127:8000/seisfinderapp/insert?root_dir=/var/www/seis2Data/seisfinder2Data/CSV/csv_dataCybershake_v17p8&type=cybershake |
After about 9 minutes, if the CSV data is inserted successfully, terminal output: final result=OK.
...