- go to adminApp/private and generate localhost ceritifiucates by running the command below
openssl req -x509 -out localhost.crt -keyout localhost.key \
-newkey rsa:2048 -nodes -sha256 \
-subj '/CN=localhost' -extensions EXT -config <( \
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
- make sure you have webpack-cli intalled
- make sure you have tmux installed
- go to adminApp and run
meteor npm i
- go to themeApp and run
npm i
- start the project with
./start.sh
. It will open 2 tabs one for the meteor app, one for the themeApp. You can switch between tabs by pressing ctrl+b 1 and ctrl+b 2
- Generate your private api keys (described here). Make sure you select all possible permissions so you wan't have to come back and edit later.
- Set your api keys in
/imports/server/api.js
- Get accustomed with the libraries used:
- Shopify API Docs implemented with shopify-api-node npm package.
- Uptown.css (frontend library)
- DO NOT use autoform packages
- Use lodash rather than underscore
- If you bind a class to a javascript function always prepend
js-
to the class name and never attach any css to it. Look at the example button below for a demo.