From 0929201f1e868780c56da2e9731e9cbc7c88e9ba Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 15 Mar 2016 13:13:56 +0100 Subject: updating INSTALL --- INSTALL | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index e08cdf8..f34b43f 100644 --- a/INSTALL +++ b/INSTALL @@ -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 -- cgit v1.2.3