Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mangoweb/mango-cli-example

Ready to eat mango-cli project
https://github.com/mangoweb/mango-cli-example

mango-cli

Last synced: about 2 months ago
JSON representation

Ready to eat mango-cli project

Awesome Lists containing this project

README

        

# Mango-cli project example

A starter project for [mango-cli](https://github.com/manGoweb/mango-cli) devstack.

## Prerequisite

1. [Node.js](https://nodejs.org)
2. [Mango-cli](https://github.com/manGoweb/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/