Welcome to Fastsell, the dynamic online marketplace inspired by the functional simplicity of OLX. Designed to connect buyers and sellers, Fastsell offers a broad spectrum of categories ranging from cars to real estate, and fashion to agricultural products. Our platform is intuitively crafted to ensure a seamless user experience, whether you are browsing for the best deals or listing your own products.
Follow these steps to get your development environment set up.
- Python - Programming language used
- pipenv - Dependency manager
- PostgreSQL - Database system
- Gunicorn - WSGI server for production
-
Install Packages
Use pipenv to install all dependencies. In your terminal, run:
$ pipenv install
-
Environment Variables
Set up your environment variables, using a .env file.
-
Activate Virtual Environment
To activate the virtual environment, run:
$ pipenv shell
- Database Migrations
Create local database migration files:
$ python manage.py makemigrations
Apply the migrations to the database:
$ python manage.py migrate
- Running the Server
For development:
$ python manage.py runserver
For production with Gunicorn:
$ gunicorn store.wsgi:application -c gunicorn_config.py
- Gunicorn and Systemd
To set up Gunicorn with systemd for automatic startup, follow Gunicorn's deployment guide.
- Web Server Configuration
Configure your web server (like Nginx or Apache) to serve static content and set up a reverse proxy to Gunicorn