Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (24 sloc) 1.37 KB

EC2-facer

AWS EC2 server files backup mainly

www.jmjanzen.com:8080 - Development. Testbed for new & experimental features.
www.jmjanzen.com - Production. Typically taken from the latest version of the master branch.

setup instructions for the novice ubuntu server admin

git clone https://github.com/jm-janzen/EC2-facer        /* clone this repository to your server */
cd EC2-facer                                            /* change directory to cloned repository */
npm install                                             /* install the dependencies facer requires */
git submodule --init --recursive                        /* download submodules */
nodejs facer.js <PORT>                                  /* run, then open browser at the specified port,
                                                         * at your server's IP, or DNS */

if you want the server to automatically restart on changes

npm install -g forever                                  /* install source file watch module */
./start.sh <PORT> [true|false]                          /* start launch script; optionally set debug mode
                                                         * to either true or false */

And if you're missing any of the commands above, simply...

sudo apt-get <package>

Hopefully this can give you a head start on starting your own web server!

You can’t perform that action at this time.