nephila / djangocms-installer

Console wizard to bootstrap django CMS projects

Home Page:https://djangocms-installer.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

fp4code opened this issue · comments

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.

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