This is the place where you can put all your remote stuff.
Remote configuration files, stub data or even your JSON resume data.
Why Tristan? Tristan da Cunha it is the most "remote" inhabited archipelago in the... Well you got it.
KOAN:
- Client: AngularJS and Twitter Bootstrap with pure html partials (no server side rendering so it's fully static and CDN ready). Bower packages are located at
client\bower_packages. - Server: Koa for RESTful API on top of Node.js v0.11+ with the use of
--harmonyand generators. - WebSockets along with JSON-RPC is used for real-time client-server communication and browser sync.
- Passport.js is used for social auth. Instead of auth cookies, we use JWT along with HTML5 local storage.
- Grunt tasks are used to facilitate development and testing.
- MongoDB for persistence. Possibly more to be added.
Make sure that you have Node.js (v0.11 or above) and MongoDB (running on the default port 27017) installed on your computer. To get started with Tristanjs, do following:
git clone --depth 1 https://github.com/p1nox/tristanjs.git
cd tristanjs
npm install
npm startYour application should run on the 3000 port so in your browser just go to http://localhost:3000. If you want to run tests, simply type:
All configuration is specified in the server/config folder, particularly the config.js file. Here you can hook up any social app keys if you want integration with Twitter, Facebook, or Google.
Before you start make sure you have heroku toolbelt installed.
git init
git add .
git commit -m "initial version"
heroku apps:create
heroku addons:add mongohq
heroku config:add NODE_ENV=production
git push heroku master
heroku openMIT