arocks/edge

pythonanywhere configuration

Open

#48 aperta il 21 ott 2015

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)HTML (251 fork)batch import
help wanted

Metriche repository

Star
 (835 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I'm fairly new to Django and deploying anything really, so please forgive my ignorance. I'm trying to get your template up and running on pythonanywhere as per your installation in the docs, but get an error:

ImportError: No module named 'cdp_proj.settings'

part of wsgi.py: import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cdp_proj.settings.production")

Plus I'm not sure how to handle the static files. pythonanywhere has its own configuration and I'm not sure if I should ignore it since your settings seems to handle it

Any guidance in regards to seeting up edge on pythonanywhere would be great.

thanks in advance,

Michael p.s. bought your book, very well written as it's very readable to a beginner like me, very rare

Guida contributor