GithubHelp home page GithubHelp logo

serverfy's Introduction

Serverfy

Turns a static html site to a node application.

Installing

$ npm install -g serverfy

Usage

$ serverfy

--version                print serverfy version and exit

Example

git clone [email protected]:angular/angular-seed.git
Cloning into 'angular-seed'...
remote: Reusing existing pack: 1942, done.
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 1945 (delta 0), reused 3 (delta 0)
Receiving objects: 100% (1945/1945), 9.07 MiB | 400.00 KiB/s, done.
Resolving deltas: 100% (1072/1072), done.
Checking connectivity... done

mkdir angular-seed-server

cd angular-seed-server

serverfy
[?] Where is the base directory? (/Users/Me/Projects/angular-seed/app)

[?] Which files/directorys do you want to skip? No

Moving public files to /Users/taronfoxworth/Projects/angular-seed/app/public
Cleaning up old files
Attaching Node
Installing npm modules...
Installation done!
Please run "npm start" to start application


npm start

> [email protected] start /Users/taronfoxworth/Projects/angular-seed-server
> node index.js

Listening at  http://localhost:8080

Support

If you have any issues, throw an issue in Github - https://github.com/taronfoxworth/serverfy/issues

serverfy's People

Contributors

anaptfox 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.