Changeset 91517b1 in OpenWorkouts-current
- Timestamp:
- Feb 19, 2019, 10:21:35 AM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 07f5190
- Parents:
- 3e6467c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bin/install
r3e6467c r91517b1 94 94 } 95 95 96 setup_mail_server() { 97 echo "" 98 echo "IMPORTANT, READ BEFORE STARTING OpenWorkouts" 99 echo "--------------------------------------------" 100 echo "" 101 echo "For emails to be sent by OpenWorkouts you have to set up your mail" 102 echo "server account. Edit the file development.ini and update the" 103 echo "parameters:" 104 echo "" 105 echo " mail.host = SERVER" 106 echo " mail.tls = True" 107 echo " mail.username = USERNAME" 108 echo " mail.password = PASSWORD" 109 echo "" 110 echo "--------------------------------------------" 111 112 } 113 114 create_cron_job() { 115 echo "" 116 echo "IMPORTANT, READ BEFORE STARTING OpenWorkouts" 117 echo "--------------------------------------------" 118 echo "" 119 echo "Remember to add a periodic task in your operating system to process" 120 echo "the mail queue, so emails are sent" 121 echo "" 122 echo "In a unix-like system, add this to your crontab:" 123 echo "" 124 echo "*/5 * * * * cd ${current} && ./bin/send_emails > /dev/null 2> /dev/null" 125 echo "" 126 echo "--------------------------------------------" 127 echo "" 128 } 129 96 130 setup_start_stop() { 97 131 echo "OpenWorkouts successfully installed in ${env_path}" … … 116 150 install_js_deps 117 151 create_mail_queue 152 setup_mail_server 153 create_cron_job 118 154 setup_start_stop
Note: See TracChangeset
for help on using the changeset viewer.