The SimpleLogin back-end and web app
Find a file
2019-12-18 18:07:20 +02:00
app remove DKIM-Signature if any 2019-12-17 19:06:17 +02:00
docs remove new_random_alias related test 2019-12-15 18:55:18 +02:00
local_data Sign DKIM at app level 2019-12-17 18:50:26 +02:00
migrations remove users.can_use_custom_domain flag 2019-12-15 21:52:24 +02:00
poc remove poc_send_email 2019-12-18 18:06:51 +02:00
static make alias activity responsive 2019-12-15 18:55:17 +02:00
templates replace ENABLE_SENTRY by SENTRY_DSN 2019-12-16 19:30:17 +02:00
tests Sign DKIM at app level 2019-12-17 18:50:26 +02:00
.dockerignore create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
.env.example Sign DKIM at app level 2019-12-17 18:50:26 +02:00
.gitignore ignore config symlink 2019-12-15 18:55:13 +02:00
cron.py make ADMIN_EMAIL optional 2019-12-16 19:36:59 +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 remove email subject logging 2019-12-18 18:07:20 +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 dkimpy as dependency 2019-12-17 18:30:39 +02:00
requirements.txt add dkimpy as dependency 2019-12-17 18:30:39 +02:00
server.py replace ENABLE_SENTRY by SENTRY_DSN 2019-12-16 19:30:17 +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: