UNPKG

1.36 kBMarkdownView Raw
1## Quick Start
2
3### With Docker
4
5The fastest way to get started with condensation: [condensation-docker][condensation-docker-url]
6
7```
8$ alias condensation="docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -v \"$HOME\"/.aws/credentials:/home/condensation/.aws/credentials -v \`pwd\`:/particles --rm -it sungardas/condensation"
9
10
11$ condensation create project particles-MYPROJECT
12$ cd particles-MYPROJECT
13$ condensation run build
14
15# Upload to S3
16$ condensation run deploy
17```
18
19<a name="nodejs"></a>
20### With a nodejs environment
21
22Use the Yeoman
23[generator](https://github.com/SungardAS/generator-condensation).
24
25```
26$ npm install -g yo
27$ npm install -g generator-condensation
28$ yo condensation:project particles-MYPROJECT
29$ cd particles-MYPROJECT
30$ npm run build
31
32# Upload to S3
33$ npm run deploy
34```
35
36### Example Projects
37
38* [condensation-examples](https://github.com/SungardAS/condensation-examples)
39* [particles-vpc](https://github.com/SungardAS/particles-vpc)
40* [particles-cloudsploit-scans](https://github.com/SungardAS/particles-cloudsploit-scans)
41* [particles-enhanced-snapshots](https://github.com/SungardAS/particles-enhanced-snapshots)
42
43Check out the growing list of particles on
44[npm](https://www.npmjs.com/browse/keyword/condensation-particles)!
45
46[condensation-docker-url]: https://github.com/SungardAS/condensation-docker