Progressive Web App (PWA)
Key | Description |
---|---|
CMS_DOMAIN |
Content Menagement System (CMS) Top Level Domain (TLD). |
APP_DOMAIN |
Application Top Level Domain (TLD). |
# Install a package, and any packages that it depends on:
$ npm i
# Set Environment Variables:
$ cat > .env << EOL
CMS_DOMAIN=
APP_DOMAIN=
EOL
# Launch a development server on localhost:3000 with hot-reloading
$ npm run dev
# Build application with webpack
$ npm run build
# Start the server in production mode
$ npm start
# Or start the server with process manager
$ pm2 start process.json
Copyright (c) 2018-present, Dalibor Gogic