Closed DocCyblade closed 7 years ago
Defaulting to use sql light
Looks like the db template file is getting set but the local.py is getting overwritten maybe.
cat $APP_DB_TEMPLATE >> APP_SETTINGS
needs to be after mayan-edms.py initialsetup -v 3
however, if we are going to set demo data, we may need to do this with a first boot init script anyway to recreate the password.
Need to also run mayan-edms.py createsettings
before cat $APP_DB_TEMPLATE >> APP_SETTINGS
Should look like this:
# Create initial settings
mayan-edms.py createsettings
# Apply the db template
cat $APP_DB_TEMPLATE >> APP_SETTINGS
# Migrate the database or initialize the project
# TODO: If using a database with pre-config may want to
# change this step to import database
mayan-edms.py initialsetup -v 3
Fixed
File that holds database settings is missing