Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.84 KB

README.md

File metadata and controls

60 lines (47 loc) · 1.84 KB

Snack Pack

snack pack

Pre configured collection of applications needed for a full stack web site.

TLDR;

nvm install $(cat .nvmrc) 
yarn all

preview http://localhost:3030/

Setup and Development

You'll need nvm,yarn and docker installed to run this project

  1. Clone repo locally or check out Duplicating a repository to start a new project without forking.
git clone [email protected]:ybbobdev/snack-pack.git
cd snack-pack
  1. Install node dependencies
nvm install $(cat .nvmrc) 
yarn install
  1. Run this in the root of the project. This creates ./secrets file with environment variables used for PostgresSQL and PGAdmin. It is in the .gitignore list. See package.json
yarn secrets
  1. Run these commands to start postgres and pgadmin.
yarn docker
  1. In a new shell run these commands to start the api and the site in development mode.
nvm use
yarn dev
  1. Verify site is up with these links.
  1. Update appConfig.json and secrets as needed.

Reference