Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

canonical-web-and-design/buy.ubuntu.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buy.ubuntu.com

Code for buy.ubuntu.com site

Local development

  • Clone this repo
  • Visit https://canonical-staging.myshopify.com/admin
    • Click "Apps" in the left-hand nav
    • At the bottom of the page, click "Manage private apps"
    • From the list that appears, click "buy-ubuntu-theme-dev"
    • Reveal and copy the contents of the password field
  • In the root of the repo, create a config.yml with the following content:
development:
  password: <INSERT COPIED PASSWORD>
  theme_id: "32041336909"
  store: canonical-staging.myshopify.com
  • Run npm install, followed by npm run start:dev
  • If you're updating SCSS, you'll need to run npm run watch-scss in a separate terminal.