Jam with your friends in real-time. A continuation of jamWithFriends.
React, React Router, Tone.js, simple-peer, socket.io-client
Express, Postgres, Passport, socket.io, Sequelize
webpack, shell scripts
npm install
Be sure to have postgres
installed on your workstation and to have the
system service running in the background.
Consult your OS's documentation for how to do this. Use homebrew if you're on a Mac.
# Set up the DB & your DB user
npm run db:reset
# Run all pending DB migrations
npm run sequelize db:migrate
# Seed the DB with dummy data
npm run sequelize db:seed:all
# If you want, enter `psql`
npm run db:connect
Generate a new template for your .env
file. Note, this will not do anything
if the file already exists.
npm run setup:env_vars
From there, register an application at Facebook Developers and fill in the requisite information.
Pick one of these two ways:
# 1. With separate terminal tab for front-end & back-end:
npm run back-end
npm run front-end
# 2. One terminal tab for both front-end & back-end
npm start
npm run deploy:archive
- then upload it to AWS
- ssh into AWS
- as a sudo user,
cd
into the path of deployed files. Then run:npm run deploy:install
npm run start:prod