- Node.js >= 11
git clone git@github.com:famsf/insights.com.git
cd insights
npm install
- Make sure
_auth.jsonis set up correctly for GatherContent integration - Build the site using the following command:
npm test
- Make sure
_auth.jsonis set up correctly for GatherContent integration - Start the server by running the following command:
npm start
- Visit the site at
http://localhost:3000
FAMSF Insights uses a modified github flow model for its collaboration workflow. Some of the key points here that should be obeyed:
- The code in
masteris always deployable. This means you should never ever ever commit directly to master. - You should open a branch for every issue/topic/feature you are working on. The name of the branch should be the issue number, followed a hyphen and a named description. For example, if the issue you're working on is 47, and you're adding a Picard feature, the branch name would be
47-picard. - When you feel like your branch is in a good place to QA push it and submit a pull request.
- In order for Pull Requests to be merged, they need to get code reviewed and approved.
- The Pull Request is than merged by someone other than the original branch author.
TBD
Use npm run deploy to deploy the site manually.