Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > d8d1d1ee9aeef580a12a4a406bea02f2 > files > 3

chiliproject-3.8.0-4.mga4.noarch.rpm

# Rémy CLOUARD <shikamaru@mandriva.org>

Hello,

You’ve just installed the chiliproject package, thanks.

Before you get it working, there are several steps to achieve.

You first need to setup a database for it.
Be sure to create it using an UTF-8 encoding database

If you chose postgresql or sqlite, you have to create a custom
database.yml file in /var/www/chiliproject/config.

It should looke like this:

production:
  adapter: postgresql
  database: <your_database>
  host: localhost
  username: <postgres_user>
  password: <postgres_user_password>
  encoding: utf8

If you use the mysql subpackage, just edit the provided file to give the
appropriate user/password that chiliproject should use to access your db.

For everyone, you then have to create the file structure.

Run the following commands:

    rake generate_session_store
    RAILS_ENV=production rake db:migrate # this will create the db structure

It’s also highly recommended that you run this command:
    RAILS_ENV=production rake chiliproject:load_default_data

It will feed your database with basic rules for roles and permissions.

You then need to give appropriate permissions to the
public/plugin_assets directory, run the following commands for this:

    chown apache:apache /var/www/chiliproject/public/plugin_assets -R
    chmod 755 /var/www/chiliproject/public/plugin_assets

Now you’re able to set up chiliproject. For convenience, a default config for
apache has been added in /etc/httpd/conf.d/chiliproject.conf.

Start your webserver, but allow only localhost and login with the following
credentials:
    user: admin
    password: admin

Create a new user for you with administrator privileges and lock or
delete the admin account.

Allow chiliproject to be visible by everyone, you’re done !

Regards,

Rémy CLOUARD

for further information on how to set up chiliproject, please have a look at:
    https://www.chiliproject.org/projects/chiliproject/wiki/Installation