Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 47 lines (27 sloc) 1.284 kB
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
1 You need to install Node 0.6.5 or higher:
2
3 http://nodejs.org/
4
de3ffb7 @erichocean some INSTALL fixes
erichocean authored
5 This automatically includes `npm`, the Node Package Manager.
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
6
de3ffb7 @erichocean some INSTALL fixes
erichocean authored
7 Next you'll need to get a copy of Blossom itself. The easiest way is to use
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
8 `git` and clone the Blossom repository on GitHub:
9
10 cd /directory/where/you/want/your/blossom/install/
de3ffb7 @erichocean some INSTALL fixes
erichocean authored
11 git clone https://github.com/fohr/blossom.git
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
12
8ad235b @erichocean updated INSTALL.md with clearer instructions
erichocean authored
13 Next, install any required Node packages:
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
14
de3ffb7 @erichocean some INSTALL fixes
erichocean authored
15 cd blossom
d35d2af @geoffreyd Change node install instructions.
geoffreyd authored
16 npm install
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
17
8ad235b @erichocean updated INSTALL.md with clearer instructions
erichocean authored
18 Then start up Blossom's development server:
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
19
20 node projectfile.js
21
8ad235b @erichocean updated INSTALL.md with clearer instructions
erichocean authored
22 Go to [http://localhost:4020/](http://localhost:4020/). You'll see
23 a list of demo apps you can run. Click on the one you want to try.
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
24
25 To run the foundation framework tests, do:
26
27 node testrunner.js tests/foundation
28
29 To run the datastore framework tests, do:
30
31 node testrunner.js tests/datastore
32
33 In either case, you should see output that looks something like this:
34
35 · ✓ OK » 1 honored (0.002s)
36
37 To run a specific test, just do:
38
39 node testrunner.js tests/path/to/test.js
40
8ad235b @erichocean updated INSTALL.md with clearer instructions
erichocean authored
41 Some tests currently fail because they have not been updated for our
42 Vows-based test runner. Patches welcome!
43
44 Note: The infrastructure for testing the application framework and apps you build
2a3a8c5 @erichocean added INSTALL.md
erichocean authored
45 with Blossom is coming soon.
46
47 Questions? Ask on the #blossom channel at irc.freenode.net.
Something went wrong with that request. Please try again.