Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Adding new informations in documentation.
Browse files Browse the repository at this point in the history
Referring to issue #13, I'm adding new information to remind user to get
back to the root application directory before running composer install.
I also added the information about how to run the application.
  • Loading branch information
bepitulaz committed Jul 12, 2017
1 parent 4511af4 commit 352c7ae
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,32 @@ cd tania

Second, setup your database and mailer parameters in `app/config/parameters.yml`. You can duplicate and rename the `app/config/parameters.yml.dist` file.

Third, setup the web application:
Third, don't forget to go back to the application root directory before following these steps to setup the web application:

```
curl -sS https://getcomposer.org/installer | php
php composer.phar install
```

The last, setup the database tables:
Fourth, setup the database tables:

```
php bin/console --no-interaction doctrine:migrations:migrate
```

The last, you can run Tania in development mode (on your PC or laptop) by using this command:

```
php bin/console server:run
```

Tania will run on `http://localhost:8000`.

You can also run Tania in production mode (on your server) by referring to this [Symfony documentation](http://symfony.com/doc/current/setup/web_server_configuration.html).

Done! You can start to use Tania.


## Installation notes

If you use MySQL 5.7, you should disable `ONLY_FULL_GROUP_BY`. You can refer to this [StackOverflow discussion](https://stackoverflow.com/questions/23921117/disable-only-full-group-by).
Expand Down

0 comments on commit 352c7ae

Please sign in to comment.