The SimpleLogin back-end and web app
Find a file
2019-12-15 18:55:18 +02:00
app add paddle_utils.verify_incoming_request 2019-12-15 18:55:18 +02:00
docs re-organize docs 2019-12-15 18:55:17 +02:00
local_data add new param PADDLE_PUBLIC_KEY_PATH 2019-12-15 18:55:18 +02:00
migrations add ForwardEmail.website_from field 2019-12-15 18:55:17 +02:00
poc create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
static make alias activity responsive 2019-12-15 18:55:17 +02:00
templates add link to firefox and chrome extension in footer 2019-12-15 18:55:17 +02:00
tests add paddle_utils.verify_incoming_request 2019-12-15 18:55:18 +02:00
.dockerignore create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
.env.example add new param PADDLE_PUBLIC_KEY_PATH 2019-12-15 18:55:18 +02:00
.gitignore ignore config symlink 2019-12-15 18:55:13 +02:00
cron.py disable late_payment in cron job 2019-12-15 18:55:18 +02:00
crontab.yml create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
Dockerfile reduce nb gunicorn workers to 2 2019-12-15 18:55:16 +02:00
email_handler.py use sendmail instead of send_message in reply phase to avoid unicode problem 2019-12-15 18:55:18 +02:00
pyproject.toml create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
README.md re-organize docs 2019-12-15 18:55:17 +02:00
requirements.in add pycryptodome, phpserialize for paddle 2019-12-15 18:55:18 +02:00
requirements.txt add pycryptodome, phpserialize for paddle 2019-12-15 18:55:18 +02:00
server.py comment out flask-toolbar 2019-12-15 18:55:18 +02:00
shell.py improve email: add <!doctype html>, use Hi {name} greeting 2019-12-15 18:55:15 +02:00
wsgi.py create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00

Run the code locally

To run the code locally, please create a local setting file based on .env.example:

cp .env.example .env

Feel free to custom your .env file, it would be your default setting when developing locally. This file is ignored by git.

You don't need all the parameters, for ex if you don't update images to s3, then BUCKET, AWS_ACCESS_KEY_ID can be empty or if you don't use login with Github locally, GITHUB_CLIENT_ID doesn't have to be filled. The .env.example file contains minimal requirement so that if you run:

python3 server.py

then open http://localhost:7777, you should be able to login with the following account

john@wick.com / password

Other topics

Please go to the following pages for different topics: