Skip to content

sbenemerito/instaz

Repository files navigation

instaz

An Instagram clone written in Django and React

Setup

Backend (Python / Django)

1) Set environment variables

Rename/copy the .env.example file to .env and update its contents according to your needs.

2) Install requirements

pip install -r requirements.text

2A) Known Issues

  1. error: invalid command 'bdist_wheel'

wheel is missing. Solve by running: pip install wheel

  1. The headers or library files could not be found for jpeg,
    a required dependency when compiling Pillow from source.

System-related stuff. For Debian, solve by:

sudo apt install libjpeg-dev zlib1g-dev
pip install Pillow

3) Run migrations

python manage.py migrate

4) Run development server

python manage.py runserver

Frontend (React)

1) Set environment variables

Rename/copy the frontend/.env.example file to frontend/.env and update its contents according to your needs.

2) Install dependencies

npm install

You should have no problems with this using the latest LTS versions of both Node and npm.

(Last tested with Node v16.15.0 and npm 8.5.5)

3) Run development server

npm start

About

An Instagram clone written in Django and React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published