Ensure you have Python3 installed.
You should also install virtualenv for Python development within an isolated environment.
Optionally virtualenvwrapper extensions may also be installed.
Ensure you have Docker installed which will also install docker-compose.
Get Started with Docker - Note Be sure to enable Virtualization first if on Windows machine (within the BIOS)
If you are working on the UI you will also need to install Yarn.
[Postgresql GUI Installation](use pgAdmin included with above installation, or use dbeaver)
-
start a new Database within Postgresql
-
edit local_settings file to configure DB (if needed)
-
$ pip install -r requirements.txt -
$ python manage.py migrate -
$ yarn install (or use npm)
Homebrew for Mac Installing Python 3 on Mac OS X
Set up your .bash_profile (go to bottom of this README file). If you're using ZSH, you will have to do some different stuff, setting up .zshrc, compinit, etc. to get completion working nicely and what not.
vi ~/.bash_profile
# Paste in .bash_profile content below and save.
source ~/.bash_profile# Setting PATH for Python 3.8
PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:${PATH}"
export PATH
# Only necessary if using VS Code...
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
alias python='python3'
alias pip='pip3'
export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/3.8/bin/python3
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Devel
source /Library/Frameworks/Python.framework/Versions/3.8/bin/virtualenvwrapper.sh
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
ssh-add