- Make sure you have node and npm installed:
node -v && npm -v
- Install our global dependencies:
[sudo] npm i -g electric-cli@alpha
- Install our local dependencies:
npm i
- Build the site, serve it locally, and watch for any changes:
electric run
- Deploy to production (send build files to
gh-pages
branch):
electric deploy