Welcome to the OCCUR web application, a project run through Tufts JumboCode. Here are some steps to get you started.
cd <local directory in which you want to keep this directory>
git clone https://github.com/JumboCode/OCCUR.git
--> Clones this repogit branch <name of branch>
--> Make sure you make your own branch before you start editing the source code
Running the project locallyFirst, 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.
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
git branch <name>
git checkout <name>
git branch -b <name>
git status
--> Check if you have made any changes, deleted files or added filesgit add -u
to add untracked files or git add git commit -m
"Commit message" --> please write descriptive commit messages based on your changesgit push origin <name>
--> do not haphazardly push to mastergit checkout <branch you want to update>
git pull origin master
--> There may be conflicts so when that happens, please handle them accordingly.git log