Skip to content

manGoweb/mango-cli-example

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/