Setup is a fairly straightforward task if you've ever used our particular blend of technologies before. If you haven't, you're in for a treat hopefully!
You will need the following set up:
- node.js
- git
- npm
Everything else is bundled with the application itself, or pulled in via npm.
If you have git:
git clone https:/Hoverbear/Angular-Coffee-Express.git
Then lets nagivate into the repo:
cd Angular-Coffee-Express
Since we're in the root directory of the repo, we can tell npm to install all of the neccessary dependencies.
npm install
npm will read our package.json
file to fetch everything we need.
For convienence, you should also install coffee-script
globally:
sudo npm install -g coffee-script
Due to security concerns, we don't include a configuration file, which contains all app-specific configuration details. Thankfully, it's easy to make your own!
In config.js
:
module.exports = {
port: $yourPortHere,
secret: $yourSecretHere,
cookieSecret: $yourCookieSecretHere
};
Lets test our installation by executing coffee app.coffee
$> coffee server.coffee
Express server listening on port 8080
You're done! Check back later for more exciting progress! Feel free to suggest improvements by opening an issue or submitting a pull request!
Thanks the contributors to the following Open Source Technologies:
- coffee-script
- express
- node.js
- npm
- angular.js
- connect
- git
- linux
- jade