diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-03-15 13:13:56 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-03-15 13:13:56 +0100 |
commit | 0929201f1e868780c56da2e9731e9cbc7c88e9ba (patch) | |
tree | 83e8c63bf10f2c098de2ed1f189abbe952b546b2 /INSTALL | |
parent | b78a59896f8e37d41b41d37e597ae613c39087f5 (diff) | |
download | bank-0929201f1e868780c56da2e9731e9cbc7c88e9ba.tar.gz bank-0929201f1e868780c56da2e9731e9cbc7c88e9ba.tar.bz2 bank-0929201f1e868780c56da2e9731e9cbc7c88e9ba.zip |
updating INSTALL
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -50,8 +50,7 @@ serving must be initialized. Give the following commands (respecting the sequence): $ python manage.py makemigrations -$ python manage.py migrate -$ python manage.py collectstatic --noinput +$ python manage.py migrate $ python manage.py collectstatic --noinput The following command is also needed, in order to create some predefined accounts: @@ -79,6 +78,12 @@ virtualenv data and the bank's website itself the final "executable" (i.e. a shell script which launches the wsgi service), so it should be somewhere known by PATH +(*) 'make install' performs both sources deployment _and_ database initialization; +the latter needs to be done with the same user who runs the bank application. So if +'make install' is done as 'root' user, make sure 'root' has the mean to modify the +'talertest' database. Otherwise, just point '--prefix' and '--exec-prefix' to a location +accessible to the user who will run the bank + The installation is done by the usual $ ./bootstrap.sh |