Skip to content
snowbooks site made with Jekyll
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_data
_includes
_layouts
_plugins
_sass
css
images
js
lib
wiki
.byebug_history
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
about.html
apple-touch-icon.png
contact.html
index.html
open-rejection-letter.html
portfolio.html

README.md

Snowbooks website

Develop

This app was built with Jekyll version 3.3.1, but should support newer versions as well.

Install the dependencies with Bundler:

$ bundle install

Run jekyll commands through Bundler to ensure you're using the right versions:

$ bundle exec jekyll serve

Generate credentials on Consonance (General Products developers only)

ApiKey.create(client: Client.is_snowbooks).key

How to run

  • Add and remove products to be included on the site, on Consonance:

https://web.consonance.com/shops/:id/products

On the command line:

API_KEY=1234567890 ruby lib/seed.rb

jekyll build --watch

To run the site locally:

jekyll serve

To push to production:

  • Build for production

JEKYLL_ENV=production jekyll build

Push to S3 AWS account emma+snow

We use https://github.com/laurilehmijoki/s3_website

s3_website push

It will calculate the diff, update the changed files, upload the new files and delete the obsolete files.

TODO

[x] google analytics [x] more shop links [x] refine list on consonance of what should be published [x] set up aws [ ] search [x] schema.org [ ] blog [x] home page copy

You can’t perform that action at this time.