Giter Site home page Giter Site logo

selbyk / selby-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 794 KB

selby-server is a koa/socket.io based ES6/ES7 node server developed with security and convenience in mind. Its purpose is to replace the current server running https://selby.io/ and to be a template for future servers generated mostly from a spec document.

Home Page: http://testing.selby.io

JavaScript 95.94% CSS 3.84% HTML 0.21%

selby-server's Introduction

selby-server

selby-server is an koa/socket.io based ES6/ES7 node server developed with security and convenience in mind. Its purpose is to replace the current server running https://selby.io/ and to be a template for future servers generated mostly from a spec document

Development Environment

Node Version Manager (NVM)

NVM isn't required, but node 5+ is and NVM provides a virtual environment that makes managing multiple node.js versions simple.

Node 5

If you have NVM installed, getting node 5+ is as simple as $ nvm install 5, or $ nvm use 5 if a version of node 5 is already installed.

Grunt

A task runner used for automation and performing repetitive tasks like minification, compilation, unit testing, and linting.

It must be installed globally ($ npm i -g grunt-cli) so that it can be executed from a shell. Then, to start selby-sever run: $ grunt

Step by Step

  1. Install NVM
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
  1. Install or use node 5+
$ . ~/.nvm/nvm.sh
$ nvm install 5
$ nvm use 5
  1. Install grunt
$ npm i -g grunt-cli # No sudo with NVM
  1. Clone repo and install dependencies
$ git clone https://github.com/selbyk/selby-server.git
$ cd selby-server
$ git submodule init # clone custom middleware
$ git submodule update
$ npm i
  1. Start the build manager
$ grunt

You should now be able to access the server at http://localhost:5644 if everything went smoothly

selby-server's People

Contributors

selbyk avatar

Watchers

 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.