JumboCode / OCCUR

MIT License
2 stars 0 forks source link

OCCUR

Welcome

Welcome to the OCCUR web application, a project run through Tufts JumboCode. Here are some steps to get you started.

Team Members:

Recommended software

Architecture Overview

How to Clone This Repo on Local Machine

  1. cd <local directory in which you want to keep this directory>
  2. git clone https://github.com/JumboCode/OCCUR.git --> Clones this repo
  3. git branch <name of branch> --> Make sure you make your own branch before you start editing the source code Running the project locally

Frontend

First, run the development server:

npm run dev
#or
yarn dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Backend

We're using venv to contain requirements and keep track of the packages we're using. Name your environment backendEnv inside /api/, so you don't need to change your .gitignore.

python3 -m venv backendEnv
source backendEnv/bin/activate
pip install -r requirements.txt
python3 manage.py runserver

To deactivate the environment: deactivate

Essential Git Commands

Making a branch

Moving to a branch

Make new branch and switch to it immediately

How to commit changes

Updating a branch

Git history

Pull requests