The SimpleLogin back-end and web app
Find a file
2019-12-15 18:55:18 +02:00
app disable late_payment in cron job 2019-12-15 18:55:18 +02:00
docs re-organize docs 2019-12-15 18:55:17 +02:00
local_data add self-signed ssl certificate generated by "openssl req -x509 -newkey rsa:4096 -nodes -out cert.pem -keyout key.pem -days 365" 2019-12-15 18:55:09 +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 handle the case email from header has the format "First Last <ab@cd.com>" 2019-12-15 18:55:17 +02:00
.dockerignore create BaseForm to enable CSRF 2019-07-02 10:20:12 +03:00
.env.example make sure the .env.example is sufficient to run the code locally 2019-12-15 18:55:17 +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 display website_from on alias log 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 install coloredlogs 2019-12-15 18:55:17 +02:00
requirements.txt install coloredlogs 2019-12-15 18:55:17 +02:00
server.py fix test 2019-12-15 18:55: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: