Giter Club home page Giter Club logo

nudle's Introduction

运行

首次运行

在文件中新建config.json,里面加上

{
  "salt": "盐"
}

不要将config.json上传到git仓库

然后执行

$ npm install
$ npm start

访问localhost:3096即可

Windows下脚本

babel编译脚本

可能需要在管理员权限的PowerShell下执行set-executionpolicy remotesigned

run.ps1

babel -d dist/ src/
cp ./src/public ./dist -r -force
cp ./src/views ./dist -r -force

*nix下脚本

首次建立记得执行chmod +x

更新脚本

update

$ forever stop ./dist/bin/www
$ git pull
$ npm install
$ ./run
$ forever start ./dist/bin/www

babel编译脚本

run

babel -d dist/ src/
cp -rf ./src/public ./dist
cp -rf ./src/views ./dist

nudle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.