This repo has all the code necessary to run an instance of rabbitlol locally or in Google App Engine.
- Google App Engine SDK for Python
- virtualenv-2.7
- make
Go to repo's root directory and run make run
. You should be able to visit rabbitlol homepage at http://localhost:8080 once all the necessary packages are fetched.
Go to https://console.cloud.google.com/appengine and create yourself a project, save your project ID. Go to repo's root directory and run PROJECT_ID=<your-project-id> make deploy
. Once all the packages are installed and you are authenticated, app will be uploaded to App Engine and you should be able to visit rabbitlol homepage at https://<your-project-id>.appspot.com
- Update
rabbitlol_url
variable inapp/oauth.py
with your app's url (e.g. if you are running the app locally, update it tohttp://localhost:8080
) - Create a Facebook/GitHub/Google/Twitter app. Set the callback URL for OAuth as
<your-app-url>/oauth/callback/<lower-case-service-name>
. For example, if you are running the app locally, the callback URL for GitHub is http://localhost:8080/oauth/callback/github. - Update the variables in
app/secrets.py
with the secrets you obtained in step 2. - If you are running the app in the App Engine, re-deploy the app.