tomsabin.co.uk - photography portfolio
Read more about the project creation on the UBXD:IO blog.
- flickr-fetch: Used to populate the database with photos from a given Flickr photoset ID.
- iron-router
- iron-router-progress
- scss, bourbon, neat (see following section)
- Start MongoDB
mongod --dbpath=<path>
- Start Meteor
MONGO_URL="mongodb://<host>:<port>/<database>" meteor run --port 3000
- Go to
http://localhost:3000
Using Bourbon Neat for grid framework, SASS for le CSS and Compass to compile it all. Phew.
-
Ensure that
compass
is installed:gem install compass
-
Then
cd
to the root of the project and runcompass compile
orcompass watch
- Ensure
MONGO_URL
,ROOT_URL
andBUILDPACK_URL
are set when deploying for the first time:
heroku config:set MONGO_URL=mongodb://<username>:<password>@<host>:<port>/<database>
heroku config:set ROOT_URL=<appname>.herokuapp.com
ORheroku config:set ROOT_URL=http://<your-domain.com>
heroku config:add BUILDPACK_URL=https://github.com/oortcloud/heroku-buildpack-meteorite.git
-
Push latest changes to
master
-
Push changes to heroku
git push heroku master