Skip to content

alrightstudio/proposals

Repository files navigation

Alright Studio Proposals

Requirements

  • MAMP
  • PHP 7+
  • MySQL 5+
  • Node 8+
  • Yarn

Local Development

Local development requires MAMP.

  1. Install Composer dependencies
$ composer install
  1. Install Yarn dependencies
$ yarn install
  1. Run CraftCMS required permissions script
$ sh scripts/set-permissions.sh
  1. Copy .env.example to .env and add your settings.
  2. Pull down DB backup and import into your local MySQL environment.
  3. Point proposals.alright.local in your hosts (via MAMP or hosts file) to the web directory and restart MAMP servers.
  4. Start local development server for live reload changes
$ yarn start

Deploying to Production

  1. Add Fortrabbit as a GIT remote, named production.
  2. Run the deploy.sh script. 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

About

CMS for proposals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages