This site is built with Statamic, React, Mapbox, and Algolia.
This project uses Vagrant and is provisioned with the FM Development Standard. See that repo for more about the necessary requirements for using Vagrant.
To run this project for the first time after cloning, init via the Makefile
:
make init
Then install the dependencies:
vagrant ssh
composer install
npm install
If you want to update the provisioner run:
make update-provisioner
This project uses Mix for build process.
NOTE: All tasks and commands should be run on the Vagrant box.
Development Task
Creates static files in /site/themes/ghosttowns/
:
npm run dev
Watch Task
Uses BrowserSync to refresh assets and reload browser:
npm run watch
View the site at http://localhost:3000/ or the proxy as set in webpack.mix.js
, e.g. http://ghosttownfinder.dev:3000
Production Task:
npm run production
Add additional notes about how to deploy this on a live system