previewict/pst-stack

Propel-Slim-Twig PHP Application Stack. The most sophisticated application stack for starting any PHP application in a minute.

v4.2 2016-02-15 18:58 UTC

This package is not auto-updated.

Last update: 2024-09-14 16:29:19 UTC


README

Installation

Just git clone https://github.com/previewict/pst-stack

Copy/paste config/settings.sample file to config/settings.php. And copy, paste propel/propel.xml with your database configuration. But don't change the DB name. If you change the DB name then the whole database thing needs to be re-generate that can brake the entire project. This step is necessary only for running propel migrate command if any of your team member update schema.

Now run sudo chmod a+x propel_migreate.sh && sudo ./propel_migrate.sh to upgrade or install your database.

Now finally you have to copy, paste the config.php file to configure your project.

After that create the virtual host and you are ready to go.

Migrating schema

sudo ./propel_migrate.sh