kendlera / pg-server

Server for playing PG Deluxe Europe
0 stars 4 forks source link

ImportError: No module named 'settings' #1

Closed nelsp closed 5 years ago

nelsp commented 5 years ago

is there a file missing in the project?

kendlera commented 5 years ago

yup! Intentionally missing from the repo since it contains the settings for the server. You'll need to have a file pg-server/settings.py with import os and a class Settings. Within the settings class you'll need the global variables HOST PORT DEBUG BASE_PATH and KEY defined. I'll put up an example settings file tomorrow. I realized I'm also missing some endpoint descriptions from the README, so I'll update that as well.

nelsp commented 5 years ago

you don't have to do it now. it can wait til you guys are up in vt. ill have a lot more questions (and need hand holding) later.

On Sun, Dec 16, 2018 at 2:09 PM kendlera notifications@github.com wrote:

yup! Intentionally missing from the repo since it contains the settings for the server. You'll need to have a file pg-server/settings.py with import os and a class Settings. Within the settings class you'll need the global variables HOST PORT DEBUG BASE_PATH and KEY defined. I'll put up an example settings file tomorrow. I realized I'm also missing some endpoint descriptions from the README, so I'll update that as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kendlera/pg-server/issues/1#issuecomment-447676131, or mute the thread https://github.com/notifications/unsubscribe-auth/AGAXvkzLqUbaUbLHDYJEEfh11Sv56sLbks5u5ramgaJpZM4ZVApO .