https://github.com/taystack/composition
Simple application demonstrating the power of Chaplin and the composer.
https://github.com/taystack/composition
Last synced: 3 months ago
JSON representation
Simple application demonstrating the power of Chaplin and the composer.
- Host: GitHub
- URL: https://github.com/taystack/composition
- Owner: taystack
- License: mit
- Created: 2013-06-02T08:43:26.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-06-02T08:44:00.000Z (over 12 years ago)
- Last Synced: 2025-04-10T00:55:17.966Z (10 months ago)
- Language: CoffeeScript
- Homepage:
- Size: 532 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Composition
> Example application using Chaplin.
## Usage
### Setting up your environment ###
The first thing you’re going to want to do, is build a virtual environment
and install any base dependancies. You'll want `virtualenvwrapper` which can
be installed via `pip install virtualenvwrapper` if you don't already have it.
```sh
# Establish a new environment.
mkvirtualenv composition
# Ensure we are working on the established environment.
workon composition
# Install the node environment manager.
pip install nodeenv
# Bootstrap the node environment (this can take a while on slower computers).
nodeenv -p -j 9 -r requirements.txt
# Install local node dependencies
npm install
```
### Resuming work in an established environment ###
Setting up an environment can take awhile so thankfully resuming use of
an already set up environment is as simple as:
```sh
workon composition
```
### Running the development server
```sh
grunt
```
### Build for distribution
```sh
grunt build
```
## License
Unless otherwise noted, all files contained within this project are liensed
under the MIT opensource license. See the included file LICENSE or visit
[opensource.org][] for more information.
[opensource.org]: http://opensource.org/licenses/MIT