Everything you need to get Elixir Shopify API up and running.
- Clone this project
git clone https://github.com/pixelunion/elixir-shopify-app.git
- Rename the directory to a new project name
mv elixir-shopify-app your_project_name
- Delete the internal Git directory
rm -rf .git
- Run the boilerplate setup script
./boilerplate-setup.sh YourProjectName
- Create a new Git repository
git init
- Create the initial Git commit
git add -A
- Create the initial Git commit
git commit -m "Initial commit"
- Setup a Shopify App
- Add the API key and secret to your
.envrc.private
- Update the allowed URLs to include
https://public-facing-url.ngrok.com/shop/authorized/your_project_name
- Start your database
docker-compose up -d
- Fetch dependencies
mix deps.get
mix ecto.setup
cd assets && yarn install && cd ..
- Start your app
mix phx.server
oriex -S mix phx.server
- Initiate install via
localhost:4000/shop/install?app=new_app_name&shop=mydevshop.myshopify.com
Boilerplate idea and install script borrowed from Mirego