Browse files

Added up to date install directions.

  • Loading branch information...
1 parent 271d37a commit f723123d0be76787ae02564f1f43ce1daad0740e @collin committed May 16, 2012
Showing with 25 additions and 26 deletions.
  1. +25 −26
@@ -108,39 +108,38 @@ Todo.Application = AS.Application.extend
-Now you're off to the races
+## dependencies
-## Serving Assets/Packages
-### This is mostly terrible and will be replaced with a [bpm]( based solution
+You can get a package of dependencies with <a href=""> html_package </a>.
-AlphaSimprini currently uses [module_loader]( to server node modules
-and provide an implementation of 'require' in the browser.
+curl > vendor/minispade.js
+gem install html_package
+hip install \
+ --file="" \
+ --out="vendor/alpha_simprini"
-module_loader requires a node server and can be set-up like this:
+## minispade
-pathname = require("path")
-ModuleLoader = require("../lib/module_loader")
-# see for complete
-# configuration options (including specifying your own http server)
-new ModuleLoader
- module_root: pathname.resolve("./node_modules")
- packages: ["underscore", "underscore.string", "project"]
+The best supported use of Alpha Simprini is through minispade.
+The javascript files downloaded by `hip install` are pre-wrapped in minispade
+A copy of minispade can be downloaded here, or from <a href="">Github</a>.
+curl > vendor/minispade.js
-To include your project, you must specify a package.json and install that package. If your project was called
-'project' you could use npm like so in development.
+Get all those files into your application,
+for example, with the Rails asset pipeline:
-npm link project && npm link
+#= require 'vendor/minispade'
+#= require_dir 'vendor/alpha_simprini'
+minispade.require 'alpha_simprini'
-Then in your application:
+Now you're off to the races.
-<script src="//localhost:2334/node_modules.js"></script>
- require("project").boot()

0 comments on commit f723123

Please sign in to comment.