The Shopify theme for the Parliamentary shop.
The shop.parliament.uk repository requires the following:
- NodeJS 10 or above
- Shopify Slate 0.6.9 or above
- A Shopify account
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
After setting up, run ./node_modules/.bin/slate start
. This will open your Shopify store with this theme applied.
If you encounter a certificate error, you can setup a self-signed certificate for local development.
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.
- Fork the repository
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
shop.parliament.uk is licensed under the Open Parliament Licence.