Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steadicat/barista
A client-side web framework for rich web sites and apps.
https://github.com/steadicat/barista
Last synced: 3 months ago
JSON representation
A client-side web framework for rich web sites and apps.
- Host: GitHub
- URL: https://github.com/steadicat/barista
- Owner: steadicat
- Created: 2010-05-12T16:31:44.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-11-25T02:31:17.000Z (about 14 years ago)
- Last Synced: 2023-04-21T17:13:21.691Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 237 KB
- Stars: 26
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Set up
Barista is all static files. However, for development ease and
performance reasons, some preprocessing is done on the static
files. HTML files are generated with [HAML](http://haml-lang.com/),
CSS files are generated with
[Compass](http://compass-style.org)/[SASS](http://sass-lang.com/),
and JS files are (optionally) generated from
[CoffeeScript](http://coffeescript.org/) and then merged into one.## Development web server
To speed up development without having to worry about preprocessing
the files each time you make a change, Barista includes a simple web
server that you can use during development that takes care of the
preprocessing for you.### Prerequisites
The development server runs on [Node.js](http://nodejs.org/), so
you're gonna need to install that first.[HAML](http://haml-lang.com/), [SASS](http://sass-lang.com/), and
[Compass](http://compass-style.org) are Ruby modules. You can
install them all like this:gem install compass
If you want to write your scripts in
[CoffeeScript](http://coffeescript.org/), install
[Npm](http://npmjs.org/), then:npm install coffee-script
Finally, if you want good support for [Markdown](http://daringfireball.net/projects/markdown/) in your HAML files, you should also install [Maruku](http://maruku.rubyforge.org/):
gem install maruku
### Start development
Run:
node develop.js
Then visit [http://localhost:5678/](http://localhost:5678/). If you
did everything right you should see a simple Barista web site.## Deployment
_Watch this space for help on how to compile and compress all the
static files for deployment and (optionally) upload them to
CloudFront._## All set up?
Proceed to the [tutorial](barista/blob/master/TUTORIAL.md).