3 Replies Latest reply: Sep 25, 2015 8:26 AM by Mike Garabedian RSS

Steelscript Application Framework postgresql initialization

aaa

Hello,

I am trying to run Steelscript Apllication Framework with a postgresql backend.

 

I encounter the following error message when I followed the official documentation tips concerning the database initialization:

 

documentation: https://support.riverbed.com/apis/steelscript/appfwk/configuration.html#setting-up-the-database

 

(venv_prod)$ python manage.py reset_appfwk -v 3 --force

Processing model: PortalUser

OperationalError: FATAL:  database "steelscript_db" does not exist

Saving existing users ...

After creating the database :

 

(venv_prod)$ python manage.py reset_appfwk -v 3 --force

Processing model: PortalUser

Saving existing users ... done.

Processing model: WidgetAuthToken

Saving existing tokens ... done.

ProgrammingError: database "steelscript_db" already exists

 

But this command seems to work:

 

python manage.py reload

What is the process to initialize the postgres database ?

 

Thanks for your help,