Skip to content

louispo0603/Symbi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Want to work on the project? Follow these steps!

First Steps

  1. Create a Fork and name it Symbi
  1. Clone your Fork to your local machine
  • git clone https://github.com/USERNAME/Symbi.git
  1. Change into the directory where the repository was cloned
  • cd Symbi
  1. Keep up-to-date with the original upstream repository that you forked (this repository)
  • Add 'upstream' repo to list of remotes
  • git remote add upstream https://github.com/UPSTREAM-USER/ORIGINAL-PROJECT.git
  • Verify the new remote named 'upstream'
  • git remote -v
  1. In the Symbi directory, create a virtual environment and activate it
  • virtualenv .env
  • on Mac: source .env/bin/activate
  • on Windows: .env/Scripts/activate
  1. Install requirements in the virtual environment
  • pip install -r requirements.txt
  1. Change into the directory containing the django project
  • cd symbi
  1. Create a file called ‘.env’
  • touch .env
  1. Generate a secret key and print the output by running this command in terminal:
  • python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
  1. Inside the .env file, create a variable called SECRET_KEY and paste the key that was generated. GitHub knows to ignore files named .env, so your secret key will remain local.

Keeping Your Fork Up-To-Date

  1. Make sure your fork is up-to-date
  • git fetch upstream
  1. Checkout your own development branch
  • git checkout develop
  1. Merge upstream with the original repository’s development branch
  • git merge upstream/develop

Working in the Fork

  1. Checkout your own development branch
  • git checkout develop
  1. Create a branch
  • git branch featurename
  1. Checkout the newly created branch to switch to it
  • git checkout featurename

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.7%
  • HTML 7.3%