Giter VIP home page Giter VIP logo

seed-1's Introduction

Seed

Build Status

A flexible and scalable suite for building modern websites, using nodejs with express.

Requirements

  • NodeJS
  • gulp
  • bower

You must install NodeJS as the whole programming engine. We use npm and bower as package manager, and gulp as building automation tool. The npm is already equipped with NodeJS, so just install bower and gulp as follows.

$ npm install -g bower
$ npm install -g gulp

Then you can start using the CLI operations

Getting started

$ npm install
$ bower install
$ gulp init -d  # development mode
$ gulp build -d # development mode
  1. Install nodejs packages

    $ npm install
    
  2. Install front-end packages

    $ bower install
    
  3. Initialize database

    Create tables from schemas, and insert built-in records like root user, default permissions, etc.

    -d, -t, and -p switches will initialize the development, test, production databases, respectively.

    $ gulp init [-d | -t | -p]
    
  4. Run as debug/production mode

  • if you want to start developing your website, then use debug mode with livereload function.

    $ gulp build -d
    
  • if you want to put your website into production, then use production mode.

    $ gulp build -p
    
  • Moreover, you can turn on -u switch to uglify backend script files.

    $ gulp build -p -u
    
  1. Open on browsers
  • Development mode is host on port 5000

    http://localhost:5000

  • Production mode is host on port 3000

    http://localhost:3000

Documentation

The documentation is served on gitbook site: seed

seed-1's People

Contributors

gocreating avatar wakeuptsai avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gitter-badger

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.