Skip to content

jcheon/reddit_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Clone

Begin

  • Clone repo
git clone https://github.com/jcheon/reddit_clone
  • Go into the repo
cd reddit_clone
  • Run Docker
docker-compose up

Help

  • Get into container's shell
docker-compose run web /bin/bash
  • Migrate database
python manage.py makemigrations
python manage.py migrate

Regular files

  • Dockerfile - Initial dockerfile to help us setup our environment
  • docker-compose.yml - Initial starter docker-compose file
  • requirements.txt - Blank requirements.txt file for us to add python package requirements into

Hidden files

  • .gitignore - ignores python code & macOS generated files that don't need to be in the repo

Techs used

Click for documentation.