Skip to content

Installation

Paris Liakos edited this page Mar 23, 2018 · 7 revisions

Make sure you have composer installed. Then run the following (it will ask you for database info, so make sure you have one ready):

$ composer create-project siwapp/siwapp-sf3 my_siwapp; cd my_siwapp

Then you can dump the assets:

$ php bin/console assetic:dump --env=prod

Creating the database schema:

$ php bin/console doctrine:schema:create

Creating the first (admin) user:

$ php bin/console fos:user:create admin [email protected] 1234 --super-admin

Make sure that the var/ and web/uploads folders are writable by the webserver:

$ sudo chown www-data:www-data -R var/
$ sudo chown www-data:www-data -R web/uploads

or check this.

Finally, you need wkhtmltopdf installed for PDF generation to work. See here for installation instructions.

When you are done you can check /config.php or /web/config.php to make sure that everything in your enviroment is ok.