- MAMP
- PHP 7+
- MySQL 5+
- Node 8+
- Yarn
Local development requires MAMP.
- Install Composer dependencies
$ composer install
- Install Yarn dependencies
$ yarn install
- Run CraftCMS required permissions script
$ sh scripts/set-permissions.sh
- Copy
.env.exampleto.envand add your settings. - Pull down DB backup and import into your local MySQL environment.
- Point
proposals.alright.localin your hosts (via MAMP or hosts file) to thewebdirectory and restart MAMP servers. - Start local development server for live reload changes
$ yarn start
- Add Fortrabbit as a GIT remote, named
production. - Run the
deploy.shscript. Your GIT password is the fortrabbit account password.
$ sh scripts/deploy.sh
This will do a few things - compress assets, commit those as a new deployment to the repo, and push to the production branch.
Collapse Message Input
Message #general