Skip to content

Commit

Permalink
Update INSTALL.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jdabtieu authored Jan 30, 2021
1 parent 6865e4d commit 5ad4a39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ $ nano settings.py
```
In settings.py, you should add your email credentials as indicated by default_settings.py. Additionally, you may change the other email settings if you use a SMTP provider other than Gmail. Next, you should choose whether to use a CAPTCHA or not, and add your hCaptcha site and secret keys if you are using a CAPTCHA. Finally, you should add a custom name for your club and change any other settings that you wish to change.

Next, you should set up cron to run daily_tasks.py every day. Make sure daily_tasks.py is executable by running `chmod +x daily_tasks.py`. Then, run `crontab -e` and paste the following into the file: `0 0 * * * cd PATH_TO_INSTALL && ./daily_tasks.py`, making sure you replace `PATH_TO_INSTALL` with the installation path.

# Running in Debug Mode
```
$ export FLASK_APP=application.py
Expand Down

0 comments on commit 5ad4a39

Please sign in to comment.