Changes between Version 35 and Version 36 of MakeProject


Ignore:
Timestamp:
Jan 11, 2017, 9:25:09 AM (7 years ago)
Author:
Christian Beer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MakeProject

    v35 v36  
    2828The following steps complete the project setup:
    2929
    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.
    3133    * Generate a username/password file for your [HtmlOps administrative web interface] using:
    3234{{{
    33 htpasswd -cb ~/projects/test/html/ops/.htpasswd username password
     35htpasswd -cb ~/projects/cplan/html/ops/.htpasswd username password
    3436}}}
    3537    * Run `crontab -e`, and add an entry to run the project's cron script:
    3638{{{
    37  0,5,10,15,20,25,30,35,40,45,50,55 * * * * PROJECT_HOME/bin/start --cron
     39 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/boincadm/cplan/bin/start --cron
    3840}}}
    3941   * '''or''' type this command to include the line above to your crontab automaticaly:
    4042{{{
    41  $ crontab ~/projects/test/test.cronjob
     43 $ crontab ~/projects/cplan/cplan.cronjob
    4244}}}
    4345(if cron cannot run 'start', try using a helper script to set the `PATH` and `PYTHONPATH` environment variables)
     
    9395== Deleting a project ==
    9496
    95 To delete a project, in this example named 'test', delete its directory and its database:
     97To delete a project, in this example named 'cplan', delete its directory and its database:
    9698{{{
    9799cd ~/projects
    98 /bin/rm -rf test
     100/bin/rm -rf cplan
    99101
    100102mysql
    101 > drop database test;
     103> drop database cplan;
    102104}}}