mixkungz / clubhome-django

Clubhome: An example project for teaching Django Crash Course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ClubHome 🎙✨

A clubhouse clone as part of Django crash course by Yothin Muangsommuk (เขียนงูให้วัวกลัว)

Clubhome

How to set up project

I'm encouraging using PyCharm to develop this project since it can manage the initial process to install the dependencies.

If you using PyCharm you can just import this project via Import from VCS and then PyCharm will create virtualenv and install 3rd party library we defined in requirements.txt

If you're using other editor you can follow below step to setting up this project

  1. Clone this project or download from GitHub
    git clone git@github.com:yothinix/clubhome-django.git
    
  2. Create virtualenv for the project
    python -m venv venv
    
  3. Activate the virtualenv
    # For Windows
    .\venv\Scripts\Activate.bat
    
    # For Mac / Linux
    ./venv/bin/activate
    
  4. Install all dependencies via pip
    pip install -r requirements.txt
    
  5. Migrate the initial database
    cd clubhome
    python manage.py migrate
    
  6. Start development server
    python manage.py runserver
    

Additional link

About

Clubhome: An example project for teaching Django Crash Course


Languages

Language:Python 67.7%Language:HTML 32.3%