Skip to content

myrjola/YeOldeGameShoppe

Repository files navigation

Ye Olde Game Shoppe

A Javascript game store, which can easily be deployed to Heroku.

Submission document

The required information for the submission can be found in the submission document here

Running Locally

Make sure you have Python installed properly. Make sure you install Python 3.5. Also, install the Heroku Toolbelt and Postgres. It's recommended to use a virtualenv with Python.

$ pip install -r requirements.txt
$ createdb yeoldegameshoppe
$ heroku local:run python manage.py migrate
$ heroku local:run python manage.py collectstatic
$ heroku local

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku run python manage.py migrate
$ heroku open

or

Deploy

Facebook login support

We use Python Social Auth to implement Facebook login. You need to register a Facebook app at Facebook App Creation and set the app variables to Heroku like this:

$ heroku config:set FACEBOOK_APP_ID=*your_facebook_app_id*
$ heroku config:set FACEBOOK_API_SECRET=*your_facebook_api_secret*

Remember to set the Site URL in the Facebook app settings to the URL of your Heroku deployment.

Running tests

$ heroku local:run python manage.py test

About

Django-based HTML game store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published