Barebones scaffolding for a Meteor 1.0 app. Includes preferred folder structure, customizable twitter bootstrap 3, font-awesome and basic packages like iron-router, coffeescript and less.
Node Version Manager - Simple bash script to manage multiple active node.js versions
curl https://raw.githubusercontent.com/creationix/nvm/v0.17.2/install.sh | bash
source ~/.profile
NodeJS - Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
nvm install stable
n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local
Meteor - Meteor is an open-source platform for building top-quality web apps in a fraction of the time, whether you're an expert developer or just getting started.
curl https://install.meteor.com | sh
Various Meteor packages
meteor list
git clone https://github.com/productiveme/meteor-bones.git project-name
cd project-name
meteor
Handy documentation to get familiarised with:
- CoffeeScript Syntax
- Meteor Docs
- Bootstrap3 CSS
- Mongo Manual
- Iron Router
- Underscore
- MomentJS
- Font Awesome Icons
├── client
│ ├── compatibility // 3rd party client side libraries that require global scope to work
│ ├── css // importing and combining less files
│ │ ├── components // component less import files
│ │ └── sites // theme less import files
│ ├── lib // 3rd party client side libraries that can be encapsulated
│ │ ├── helpers // client side generic helpers
│ │ └── meteor // client router and client startup code
│ └── views // templates and controlling code
├── lib // isomorphic 3rd party libraries (client and server)
│ ├── helpers // isomorphic generic helpers (client and server)
│ └── models // isomorphic models to centralize database code (client and server)
├── public // public assets
│ ├── fonts
│ └── img
└── server
├── api // if an api is required
├── config // server side configuration
├── lib // server side 3rd party libraries
│ └── helpers // server side generic helpers
├── models // model rules
└── publish // publish methods