]> git.lizzy.rs Git - cheatdb.git/commitdiff
Disable email in default config
authorrubenwardy <rw@rubenwardy.com>
Tue, 1 Sep 2020 14:25:52 +0000 (15:25 +0100)
committerrubenwardy <rw@rubenwardy.com>
Tue, 1 Sep 2020 14:26:10 +0000 (15:26 +0100)
README.md
config.example.cfg

index 55aedd928d3ec2837a772dc9313b23df887a21c0..b236c9975e5e2963b7c1f61f39eb27dcd664a185 100644 (file)
--- a/README.md
+++ b/README.md
@@ -15,6 +15,7 @@ Docker is the recommended way to develop and deploy ContentDB.
 2. Copy `config.example.cfg` to `config.cfg`.
 
 3. (Optional) Set up mail in config.cfg.
+   Make sure to set `USER_ENABLE_EMAIL` to True.
 
 4. (Optional) Set up GitHub integration
        1. Make a Github OAuth Client at <https://github.com/settings/developers>:
@@ -29,19 +30,19 @@ Docker is the recommended way to develop and deploy ContentDB.
                POSTGRES_DB=contentdb
                FLASK_DEBUG=1
 
-5. Start docker images:
+6. Start docker images:
 
                docker-compose up --build
 
-6. Setup database:
+7. Setup database:
 
                ./utils/run_migrations.sh
 
-8. (Recommended, optional) create initial data
+8. Create initial data
        1. `./utils/bash.sh`
-       2. Either `python setup.py -o` or `python setup.py -t`
+       2. Either `python setup.py -t` or `python setup.py -o`:
                1. `-o` creates just the admin, and static data like tags, and licenses.
-               2. `-t` will do `-o` and also create test pacakges. (Recommended)
+               2. `-t` will do `-o` and also create test packages. (Recommended)
 
 9. View at <http://localhost:5123>.
    The admin username is `rubenwardy` and the password is `tuckfrump`.
index b3a66e9c0396e0880b1a96af5fd69337ece0f543..fa46aaf098002436829db4071187ec823e73cbd4 100644 (file)
@@ -19,6 +19,7 @@ USER_ENABLE_USERNAME = True
 USER_ENABLE_REGISTER = False
 USER_ENABLE_CHANGE_USERNAME = False
 
+USER_ENABLE_EMAIL = False
 MAIL_USERNAME = ""
 MAIL_PASSWORD = ""
 USER_EMAIL_SENDER_NAME = ""