For development:
- Clone repo.
- Copy
.env.sample
into.env
and configure it as required. - Run
npm install
. - Start the development server using
npm run dev
.
For a production ready build and server:
- Clone repo.
- Copy
.env.sample
into.env
and configure it as required. - Run
npm install
, thennpm run build
. Static files are ready to be served in thedist
folder. - Use
npm run prod
to run the production server and serve thedist
folder.