Giter Club home page Giter Club logo

dbmigrator's Introduction

Migration Auto Runner

0.First time running npm install npm typings install -g

1.Client side npm start Will start the on localhost:3000

2.server side. cd to backend folder; debug: npm install -g node-inspector; On one terminal: nodemon --debug index.js Will start on localhost:5000 On another terminal: node-inspector -d 5858 -p 5000 (This will start the debug port on 5858, and listen to the node server on 5000)

3.database. (On Windows machine) a.cd D:\MongoDB\Server\3.2\bin mongod --dbpath D:\MongoDB\db b. Open a new cmd prompt mongo

//PRODUCTION

  1. Install MongoDB as a service(Start the service); 1a. on windows machine, the service configuration sits in D:\MongoDB\Server\3.2\bin 1b. Configuration source page can be found in http://blog.ajduke.in/2013/04/10/install-setup-and-start-mongodb-on-windows/

  2. Use Forever to start the backend (3a.PRODstartbackend.bat) 2a. the logs sits in C:\Users\bcao.forever\

  3. Execute 5.startfrontend.bat

dbmigrator's People

Watchers

James Cloos avatar JingqiGao 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.