nephila / djangocms-installer

Console wizard to bootstrap django CMS projects
https://djangocms-installer.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
177 stars 78 forks source link

Not working in PythonAnywhere or Heroku servers (bad project.db path) #386

Open fp4code opened 3 years ago

fp4code commented 3 years ago

Description

On PythonAnywhere or Heroku servers the working directory is the home. BASE_DIR should be prepended to project.db NAME path.

Steps to reproduce

See https://stackoverflow.com/questions/56283143/django-cms-error-cms-urlconfrevision-on-deployment and https://django-cmsworkspace.slack.com/archives/C01EBCEK49E/p1621336250002400 for examples.

yakky commented 2 years ago

@fp4code you can pass the --database-url argument to adapt the database path to whatever is needed for your setup