Skip to content

jiangmf/Capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

172 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enter image description here

Eudget is a networking platform that aids its users by finding university programs that match their specific interests. Additionally, Eduget users will have personalized profiles that allow them to be matched with or get searched by potential job opportunities.

Installation

Acquire source files

git clone https://github.com/jamesmili/Capstone.git

Set up Django environment

install python and virtual env

sudo apt-get update
sudo apt-get install python3-pip python3-dev
pip3 install virtualenv

activate virtual environment

cd wiseturn
source wiseturnenv/bin/activate

install python packages

pip install -r requirements.txt

Set up React environment

sudo apt-get update
sudo apt-get install nodejs npm
npm install

Running and Building

Use Virtual Environment

source wiseturnenv/bin/activate

Running Backend Server

python manage.py runserver

Install packages from requirements

pip install -r requirements.txt

Make Migrations and Migrate

makemigrations when you modify models.py migrate to apply changes to your database

python manage.py makemigrations
python manage.py migrate

Load Test Data

python manage.py loaddata testdata2.json

Create Super User

python manage.py createsuperuser

Creating and removing Institution Admins

python manage.py shell_plus

user = WTUser.objects.first()  # instead of first() you can do WTUser.objects.get(email="...")

makeInstitutionAdmin(user, Institution.objects.first())  # instead of first() you can do Institution.objects.get(uid="...")
removeInstitutionAdmin(user)

Run the React app in the development mode

npm start

Builds the React app for production

npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors