Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 929 Bytes

INSTALL.markdown

File metadata and controls

14 lines (12 loc) · 929 Bytes

Install

  1. Create a database for Publish It Yourself and a user with all rights on this database.
  2. Go into the ```piy/`` directory.
  3. Run php symfony configure:database "mysql:host=localhost;dbname=piy" username password to configure the database access. Here it's for MySQL but you can use any database supported by PDO.
  4. Run chmod -R 777 cache log plugins/sfXssSafePatchedPlugin/lib/vendor/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer to allow HTMLPurifier to work.
  5. Run php symfony fix-perms to set corrects files permissions.
  6. Run php symfony plugin:publish-assets to put data of the plugins in the corrects directories.
  7. Run php symfony propel:build-all to generate some needed code.
  8. Optionnaly you can run php symfony propel:data-load to insert some test data in the database.
  9. Edit apps/frontend/config/app.yml to set up the software.

You are done!