This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>this repositorycd crimeisdownnpm install
npm run start- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate for more details
npm run testnpm run test:ember -- --server
npm run lintnpm run lint:fix
npm exec ember build(development)npm run build(production)
Deployments are handled by Cloudflare Pages via .github/workflows/cloudflare-pages.yml:
- Pushes to
mainormasterrunnpm run buildand upload thedist/directory to the Cloudflare Pages project namedcrimeisdown. - Pull requests from the main repository generate preview deployments so changes can be verified before merge.
- Define the
CLOUDFLARE_ACCOUNT_IDandCLOUDFLARE_API_TOKENrepository secrets with credentials that have Cloudflare Pages access. - The
_headersand_redirectsfiles inpublic/control global headers and SPA-style routing during the Ember build.