Use subversion to download the source code:
cd /var/www/core svn co http://code.google.com/p/terena-core/trunk |
Instead of installing each of the software items below separately, it is sufficient to install only a small set of packages, as this will pull in most of the required dependencies. To install everything except Zend:
|
Designate a vhost to CORE and make sure it runs SSL.
Point the DocumentRoot to the 'public' subdirectory of the source, so in this case /var/www/core/trunk/public
sudo to postgres and create a new database user, and write down the password:
createuser -D -I -R -S -P core_user |
Create an empty database owned by that user:
createdb -O core_user -T template0 core_test_db |
Developer info: use this command to create an empty database with all definitions and transfer it directly to the dev host where the installer is:
|
Change permission so that the following directories and files are writable by the web server user. In most cases this is www-data:www-data
:
cd var/www/core/trunk sudo chown -v www-data:www-data cache data/logs data/mails languages uploads public/includes sudo chown -v www-data:www-data public/.htaccess public/index.php application/configs/application.ini |
Must be populated with data:
THere should be at least one conference defined, with correct vhost, also in apache.
Make sure that appropriate directories are writable:
public/.htaccess-dist -> public/.htaccess
application/configs/application.ini-dist -> application/configs/application.ini
.htaccess SETENV production ?
Default development, met message dat het daarna UITgezet moet worden.
In application.ini-dist the following need to be set:
core.debugMailTo = "<email to send error reports to>"
core.observer.review = 1 (to toggle observer: review)
Run the invitation code from the installer, asking for an email address which will become admin.