No description
Find a file
2013-08-28 00:28:50 -04:00
archive rewrite2 big one: add ngRoute for /#/tasks & /#/options. requires 2 2013-08-27 21:13:05 -04:00
assets rewrite: add back in bulid-safe angular DI 2013-08-28 00:28:50 -04:00
locales Update app.json 2013-07-31 12:09:16 -05:00
migrations shorter day-period preen_cron 2013-06-18 14:52:39 -04:00
public rewrite2 move css files up a directory. Move *all* images to habitrpg-shared. moved a lot of spritesheet css to habitrpg-shared. still more to be moved, but this is a start 2013-08-26 21:34:33 -04:00
src rewrite: add footer 2013-08-28 00:20:50 -04:00
test mongoose WIP: use mongoose in API routes, instead of Racer. Add mongoose middleware to perform proper Derby <-> API transformations. some safe-guarding of PUT /user paths, send error messages if they're using the old way. remove task deletion & addition from PUT /user 2013-08-24 18:52:29 -04:00
views rewrite: add footer 2013-08-28 00:20:50 -04:00
.bowerrc rewrite2 add in indivdual tasks 2013-08-25 12:29:53 -04:00
.gitignore rewrite: add back in bulid-safe angular DI 2013-08-28 00:28:50 -04:00
.gitmodules rewrite2 remove submodules 2013-08-26 19:32:49 -04:00
bower.json rewrite2 big one: add ngRoute for /#/tasks & /#/options. requires 2 2013-08-27 21:13:05 -04:00
config.json.example update config.json.exampl for default mongo db 2013-02-25 18:34:11 -05:00
LICENSE README & LICENSE 2012-06-26 11:29:49 -04:00
Makefile setting up for testing REST 2012-10-12 11:53:57 -04:00
package.json rewrite2 some fixes so deploy plays nicely with heroku 2013-08-27 10:34:58 -04:00
Procfile rewrite2 bug fixes & prep for heroku 2013-08-26 13:18:01 -04:00
README.md rewrite2 add litenull's branch in so i an remove things as they're 2013-08-26 19:09:03 -04:00

HabitRPG Rewrite

HabitRPG Rewrite under development. Built using Angular, Express, Mongoose, Jade, Stylus, Coffeescript.

Note: This branch is under development, and these instructions may fall out of date. They were accurate as of August 5, 2013. Should you encounter this, join #habitrpg on IRC (Freenode) and talk to litenull.

The general steps are:

  1. Clone the repo
  2. Install all dependencies
  3. Run the client

Or, expressed in commands on the command line:

  1. git clone --recursive -b angular_rewrite https://github.com/lefnire/habitrpg.git
  2. cd habirpg && npm install
  3. npm start

To access the site, open http://localhost:3000 in your browser.

Technologies

  1. Angular, Express, Mongoose. Awesome, tried technologies. Read up on them.
  2. CoffeeScript, Stylus, Jade - big debate.
  3. Jade. We need a server-side templating language so we can inject variables (res.locals from Express). Jade is great because the "significant whitespace" paradigm protects you from HTML errors such as missing or mal-matched close tags, which has been a pretty common error from multiple contribs on Habit. However, it's not very HTML-y, and makes people mad. We'll re-visit this conversation after the rewrite is done.
  4. Stylus. We're either staying here or moving to LESS, but vanilla CSS isn't cutting it for our app.
  5. CoffeeScript. This is the hottest debate. I'm using it to rewrite, and Habit was written originally on CS. It's a fantastic language, but it's a barrier-to-entry for potential contribs who don't know it. Will also revisit right after the rewrite.