course-evaluation
=================

A course evaluation system for USARB

Installation
--------------

### Yii

Initialize the application 

```sh
./init
```

Make sure you have `mcrypt` installed and enabled.

```sh
sudo apt-get install php5-mcrypt
sudo php5enmod mcrypt
sudo service apache2 restart
```

Update all the dependencies

```sh
bin/composer update
```

Make all db migrations 

```sh
./yii migrate
```

### Apache

```sh
cd /etc/apache2/conf-available
ln -s /home/vundicind/course-evaluation/provision/apache2.conf course-evaluation.conf
a2enconf course-evaluation
service apache2 reload
```

You can test now enetering in the browser the address:

http://localhost/course-evaluation/

or 

http://localhost/course-evaluation-backend/

course-evaluation
=================

A course evaluation system for USARB

Installation
--------------

### Yii

Initialize the application 

```sh
./init
```

Make sure you have `mcrypt` installed and enabled.

```sh
sudo apt-get install php5-mcrypt
sudo php5enmod mcrypt
sudo service apache2 restart
```
[Patch](http://blogyii.com/blog/undefined-method-csrfmetatags) the composer

```sh
bin/composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
```

Update all the dependencies

```sh
bin/composer update
```

Make all db migrations 

```sh
./yii migrate
```

### Apache

```sh
cd /etc/apache2/conf-available
ln -s /home/vundicind/course-evaluation/provision/apache2.conf course-evaluation.conf
a2enconf course-evaluation
service apache2 reload
```

You can test now enetering in the browser the address:

http://localhost/course-evaluation/

or 

http://localhost/course-evaluation-backend/

Add installation notes regarding a bug of composer
Add installation notes regarding a bug of composer
