previewict / pst-stack
Propel-Slim-Twig PHP Application Stack. The most sophisticated application stack for starting any PHP application in a minute.
Requires
- php: >=5.3.0
- hassankhan/config: ^0.9.1
- ircmaxell/password-compat: dev-master
- monolog/monolog: 1.*
- propel/propel: ~2.0@dev
- respect/validation: 0.9.*@dev
- slim/flash: ^0.1.0
- slim/slim: ^3.0
- slim/twig-view: ^2.0
This package is not auto-updated.
Last update: 2024-12-21 17:38:16 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