Petstagram is a fun and interactive platform where users can share pictures of their pets, just like Instagram.
This project is built using Django, a high-level Python Web framework. It uses PostgreSQL as its database and Gunicorn as its HTTP server. The project also uses the Pillow library for image processing.
This project uses Docker for easy setup and deployment. Here's how to get started:
-
Install Docker and Docker Compose on your machine. You can find the instructions on the official Docker docs.
-
Build the Docker images:
docker-compose build
docker-compose up
docker-compose down
If you prefer not to use Docker, you can set up the project locally. Here's how to get started:
-
Install Python and pip on your machine. You can find the instructions on the official Python docs.
-
Install PostgreSQL on your machine. You can find the instructions on the official PostgreSQL docs.
-
Create a database in PostgreSQL:
psql -U postgres -c "CREATE DATABASE petstagram_db;"
This project uses pip for package management. Install the project dependencies with:
pip install -r requirements.txt
To run the project, use the following command:
python manage.py runserver
- Users can post pictures of their pets.
- Users can like and comment on posts.
- Users can follow other users and see their posts in a feed.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.