-
Notifications
You must be signed in to change notification settings - Fork 28
Setup
#Setup and Configuration
New to Espresso ?
Espresso is written in pure JavaScript with node.js http://www.nodejs.org/.
To Start with Espresso you have to install node.js first.
**First install node.js **
=== Mac OS X or Linux ===
see description here: http://nodejs.org/#download
- Tested with node 0.2.6
=== Installing node.js on Windows ===
On Windows you need to run node.js in Cygwin Read the instructions here:
https://github.com/ry/node/wiki/Building-node.js-on-Cygwin-%28Windows%29
- Tested with node 0.2.5 on Windows 7
Get Espresso
You can download the latest version of Espresso, containing all need files, from here http://www.the-m-project.net/latest_stable.zip
Or from git. Therefor make sure git is installed on your computer. Open the terminal and type:
git clone git://github.com/mwaylabs/Espresso.git
Browse into the generated Espresso folder and type:
node m-init.js -w myFirstProject
3.) Espresso should prompt with:
style.css generated!
m-build.js generated!
m-server.js generated!
m-gen.js generated!
config.json generated!
main.js generated!
Alexanders-MacBook-Pro:Espresso alexander$ cd ..
Alexanders-MacBook-Pro:Arbeit alexander$ cd Apps/
Congratulation, you have installed Espresso, an initialized a new project!
Whats next ?
Check out how to build a HelloWorld Application here: HelloWorld_Application