Skip to content

manGoweb/mango-cli-example

Repository files navigation

Mango-cli project example

A starter project for mango-cli devstack.

Prerequisite

  1. Node.js
  2. Mango-cli (npm install -g mango-cli)

Mango-cli-example specific

  • npm install

Development

  • npm start

Production build

  • npm run build

Serve production build files

  • npm run serve

    or

  • PORT=3000 npm run serve # Runs server on custom port 3000

Heroku deployment

  1. Create a new app: heroku create
  2. Set config to install devDependencies: heroku config:set NPM_CONFIG_PRODUCTION=false
  3. Deploy the app: git push heroku

Current build preview

https://mango-cli-example.herokuapp.com/