Skip to content

demars2/meeteng

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 1 commit ahead of cruze6:master.

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
August 20, 2022 21:02
November 18, 2021 18:29
March 6, 2021 11:31
August 20, 2022 21:02
November 18, 2021 18:29
November 18, 2021 18:29

MeetEng

Prospective RPI students and freshmen meeting seniors of the same major.

Running

To start docker in development mode (with hot reload):

docker-compose -f docker-compose.dev.yml up -d

The frontend, backend, and database are exposed on port 8080, 3000, and 27017 respectively.

Deployment

To deploy in production mode:

docker-compose -d up

The deployed port is currently 7655 for both the frontend and backend. Database is not visible to the outside.

DOCKER:

To get the containers docker has created for this project, type docker ps The first string of letters of each line of output that this command provides will be referred to as the 'container id' To see the console logs that a process in a docker container spits out, type docker logs <container id> To kill all docker containers, type docker kill $(docker ps -q) To run bash in a docker container from the command line, type docker exec -it <container id> /bin/sh

MongoDB:

To access MongoDB from the command line, type:

docker exec -it <mongo container id> /bin/sh
mongo

This should get you into the mongo shell. From here, commands can be run like show dbs --> list all databases MongoDB is managing. use meeteng --> go into the database for MeetEng show collections --> go into the collections that MongoDB is storing for MeetEng (users, upperclassmen, underclassmen, etc) db.<collection name>.find() --> list all entries that have been added to a collection db.users.deleteMany({"name" : "admin"}) --> delete all entries in the users database with the name of 'admin'.\

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 81.4%
  • JavaScript 15.3%
  • HTML 2.1%
  • Other 1.2%