Changes between Version 35 and Version 36 of MakeProject
- Timestamp:
- Jan 11, 2017, 9:25:09 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MakeProject
v35 v36 28 28 The following steps complete the project setup: 29 29 30 * Insert `PROJECT_NAME.httpd.conf` into `/etc/apache/httpd.conf` (path varies), or [http://httpd.apache.org/docs/2.0/mod/core.html#include Include] it from that file. 30 * Insert `cplan.httpd.conf` into `/etc/apache/httpd.conf` (path varies), or [http://httpd.apache.org/docs/2.0/mod/core.html#include Include] it from that file, or symlink it into `/etc/apache2/sites-enabled` (on Debian) via 31 `sudo ln -s /home/boincadm/projects/cplan/cplan.httpd.conf /etc/apache2/sites-enabled` 32 . 31 33 * Generate a username/password file for your [HtmlOps administrative web interface] using: 32 34 {{{ 33 htpasswd -cb ~/projects/ test/html/ops/.htpasswd username password35 htpasswd -cb ~/projects/cplan/html/ops/.htpasswd username password 34 36 }}} 35 37 * Run `crontab -e`, and add an entry to run the project's cron script: 36 38 {{{ 37 0,5,10,15,20,25,30,35,40,45,50,55 * * * * PROJECT_HOME/bin/start --cron39 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/boincadm/cplan/bin/start --cron 38 40 }}} 39 41 * '''or''' type this command to include the line above to your crontab automaticaly: 40 42 {{{ 41 $ crontab ~/projects/ test/test.cronjob43 $ crontab ~/projects/cplan/cplan.cronjob 42 44 }}} 43 45 (if cron cannot run 'start', try using a helper script to set the `PATH` and `PYTHONPATH` environment variables) … … 93 95 == Deleting a project == 94 96 95 To delete a project, in this example named ' test', delete its directory and its database:97 To delete a project, in this example named 'cplan', delete its directory and its database: 96 98 {{{ 97 99 cd ~/projects 98 /bin/rm -rf test100 /bin/rm -rf cplan 99 101 100 102 mysql 101 > drop database test;103 > drop database cplan; 102 104 }}}