@@ -17,15 +17,15 @@ virtualenv GeoHealthCheck && cd $_
1717. bin/activate
1818git clone https://github.com/geopython/GeoHealthCheck.git
1919cd GeoHealthCheck
20- pip install Paver
20+ pip3 install Invoke
2121# setup installation
22- paver setup
22+ invoke setup
2323# generate secret key
24- paver create_secret_key
24+ invoke create_secret_key
2525# setup local configuration (overrides GeoHealthCheck/config_main.py)
2626vi instance/config_site.py
2727# edit at least secret key:
28- # - SECRET_KEY # copy/paste result string from paver create_secret_key
28+ # - SECRET_KEY # copy/paste result string from `invoke create_secret_key`
2929
3030# Optional: edit other settings or leave defaults
3131# - SQLALCHEMY_DATABASE_URI
@@ -37,32 +37,32 @@ vi instance/config_site.py
3737# - GHC_MAP (or use default settings)
3838
3939# setup database and superuser account interactively
40- paver create
40+ invoke create
4141
4242# start webserver with healthcheck runner daemon inside
4343# (default is 0.0.0.0:8000)
44- python GeoHealthCheck/app.py
44+ python3 GeoHealthCheck/app.py
4545# or start webserver on another port
46- python GeoHealthCheck/app.py 0.0.0.0:8881
46+ python3 GeoHealthCheck/app.py 0.0.0.0:8881
4747# or start webserver on another IP
48- python GeoHealthCheck/app.py 192.168.0.105:8001
48+ python3 GeoHealthCheck/app.py 192.168.0.105:8001
4949
5050# OR start webserver and separate runner daemon (scheduler) process
5151vi instance/config_site.py
5252# GHC_RUNNER_IN_WEBAPP = False
53- python GeoHealthCheck/scheduler.py &
54- python GeoHealthCheck/app.py
53+ python3 GeoHealthCheck/scheduler.py &
54+ python3 GeoHealthCheck/app.py
5555
5656# next: use a real webserver or preferably Docker for production
5757
5858# other commands
5959#
6060# drop database
61- python GeoHealthCheck/models.py drop
61+ python3 GeoHealthCheck/models.py drop
6262
6363# load data in database (WARN: deletes existing data!)
6464# See example data .json files in tests/data
65- python GeoHealthCheck/models.py load < .json data file> [y/n]
65+ python3 GeoHealthCheck/models.py load < .json data file> [y/n]
6666
6767```
6868
0 commit comments