Creating a New Store ๐Ÿ›

Clone The Repo

Open up your terminal.

git clone git@github.com:binx/beluga.git

Change directories into site folder.

cd beluga

Set up Credentials

Open your text editor and create a file titled config.env in the root / directory of the project. Add the the following items:

STRIPE_KEY={Secret API key from Stripe}
ADMIN_PW={your password to log in}
SESSION_SECRET={secret session key}

You will need to get your secret API key from Stripe. See Setting Up Stripe to learn how to get your Secret API key.

Installing all the dependencies

yarn

Start development server

yarn start

In a second terminal window, run your node server with the following command:

node server/index.js

View your Store locally

Open up a new tab in your browser and navigate to http://localhost:3000.

Congrats! This is the beginning of your very first Store!

Youโ€™ll be able to visit the site locally for as long as your development server is running. To stop running that process go back to your terminal window, press (ctrl-c).