Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.73 KB

README.md

File metadata and controls

50 lines (29 loc) · 1.73 KB

tomsabin.co.uk - photography portfolio

Screenshot

Read more about the project creation on the UBXD:IO blog.


Dependencies and packages


Local Development

Starting the server locally with a defined MongoDB

  1. Start MongoDB

mongod --dbpath=<path>

  1. Start Meteor

MONGO_URL="mongodb://<host>:<port>/<database>" meteor run --port 3000

  1. Go to http://localhost:3000

Compiling SASS with Compass

Using Bourbon Neat for grid framework, SASS for le CSS and Compass to compile it all. Phew.

  1. Ensure that compass is installed: gem install compass

  2. Then cd to the root of the project and run compass compile or compass watch

Deploying

  1. Ensure MONGO_URL, ROOT_URL and BUILDPACK_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 OR heroku config:set ROOT_URL=http://<your-domain.com>
  • heroku config:add BUILDPACK_URL=https://github.com/oortcloud/heroku-buildpack-meteorite.git
  1. Push latest changes to master

  2. Push changes to heroku git push heroku master