Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

EvaEngine/EvaSkeleton.js

Repository files navigation

EvaSkeleton.js

Build Status Dependencies Status License

A Skeleton project based on EvaEngine.js

Start with one line code:

Prepare a empty directory:

mkdir myproject
cd myproject
wget https://github.com/EvaEngine/EvaSkeleton.js/archive/master.tar.gz -O master.tar.gz && tar xvf master.tar.gz --strip 1 && rm master.tar.gz

Run by Docker

docker run -p 3000:3000 -it allovince/evaskeleton:latest npm start

Then visit http://localhost:3000/

Install and Start develop:

Requirements:

  • NodeJS >= v8

1. Install global dependencies

make pre-build

2. Install project dependencies

make build

3. Start project (development mode)

npm run dev

Visit http://localhost:3000/ to see HelloWorld web page demo

4. Generate API documents

npm run swagger-dev

Visit http://localhost:15638/ to see Swagger document demo

5. CLI command (development mode)

babel-node --harmony src/cli.js hello:world

6. Run unit test

npm test

Deploy to production server

1. Install global dependencies

make pre-build

2. Install project dependencies

make build

3. Compile & Start project

npm run build
npm start

About

Skeleton Application of EvaEngine.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /