Skip to content

hack4impact-mcgill/bootcamp-app-v3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

bootcamp-app

requirements

backend setup

Change to /backend directory

cd backend

Install node package requirements

npm install

Start Docker (postgresql database)

docker-compose up

In a seperate shell, run server

npm run dev

--

To stop containers without removing them: docker-compose stop

To stop containers and remove them (along with their volumes—this will drop all tables from the database!): docker-compose down -v

when the database schema is changed, you need to remove the database and re-create it, this is done by doing

docker-compose down -v and then docker-compose up

frontend setup

In a seperate shell, change to /frontend directory

cd frontend

Install node package requirements

npm install

Start

npm run dev

trouble shooting

sudo lsof -i :5432 - to check what’s running on the port 5432

launchctl list - to show all processes

find the process from that list and then

launchctl remove <name_from_list_command> - to remove it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published