Ready to eat mango-cli project
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.editorconfig
.gitignore
.travis.yml
Procfile
README.md
mango.yaml
package-lock.json
package.json
server.js
tsconfig.json

README.md

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/