2. Download & Installation
- Download The-M-Project & Espresso
- Extract the archive
- Create an alias for Espresso:
alias espresso='/path/to/Espresso/bin/espresso.js'
- On Windows:
doskey espresso=node C:\Path\To\Espresso\bin\espresso.js $1 $2 $3 $4
- Check your Espresso installation:
espresso version (should print something like Espresso 1.1.0)
3. Setup a new project
- Navigate to the project’s parent directory
- Initialize a new project:
espresso init -p MyNewProject
4. Run the app
- Navigate to the project directory:
cd path/to/project
- Start the development server:
espresso server
- Open the printed URL in your browser:
http://127.0.0.1:8000/MyProject