Skip to content

CayShea-zz/DockerDRFReactRN_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DockerDRFReactRN_project

Prerequisites

Ensure you have Python3 installed.

You should also install virtualenv for Python development within an isolated environment.

Virtualenv - Installation

Optionally virtualenvwrapper extensions may also be installed.

virtualenvwrapper

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.

Yarn Installation

tools

POSTman Installation

Postgresql Installation

[Postgresql GUI Installation](use pgAdmin included with above installation, or use dbeaver)

then...

  1. start a new Database within Postgresql

  2. edit local_settings file to configure DB (if needed)

  3. $ pip install -r requirements.txt

  4. $ python manage.py migrate

  5. $ yarn install (or use npm)

MAC steps:

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.

Set up your .bash_profile if needed.

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors