/shop.parliament.uk

A Shopify theme for the UK Parliament shop.

Primary LanguageLiquid

The Shopify theme for the Parliamentary shop.

License

Requirements

The shop.parliament.uk repository requires the following:

Setup

To install, fork the repository from GitHub and fill in the config.yml file with your Shopify details:

git clone https://github.com/{username}/shop.parliament.uk.git
cd shop.parliament.uk
git remote add upstream https://github.com/ukparliament/shop.parliament.uk.git
npm install
cp config-sample.yml config.yml
nano config.yml

Usage

After setting up, run ./node_modules/.bin/slate start. This will open your Shopify store with this theme applied.

Self-signed certificates for local development

If you encounter a certificate error, you can setup a self-signed certificate for local development.

Contributing

If you wish to submit a bug fix or feature, you can create a pull request and it will be merged pending a code review.

  1. Fork the repository
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

shop.parliament.uk is licensed under the Open Parliament Licence.