This is an e-commerce website of airsoft guns and equipment. The project was created for educational purposes. The design of the products models used bad inheritance practices, so the project has stalled. A design idea, products information and images were taken from AirSoftStation.
- Python 3.6+
- Django 3.2+
- PostgreSQL
- Product Categories (tree structure)
- Cart for Anonymous User (Cookie)
- Search
- Customer
- Authentication (confirmation of registration)
- Edit user information
- Order procedure form
- Modile adaptive design
-
Install PostgreSQL and create new database.
-
Clone or download the repository.
-
Create virtual environment and install requirements from
requirements.txt
.Note: Ubuntu requires
libpq-dev
,python-dev
andbuild-essential
before installation. -
Fill
env_sample
file with required data and rename it to.env
. -
Make migrations and migrate.
You can do it mannualy or use a script
scripts/migrations.sh
. -
Create superuser by running a script
scripts/createsuperuser.py
. -
Run the server
python manage.py runserver
.Warning: If you get errors try to delete Cookies for
127.0.0.1
andlocalhost
in your browser. -
Load initial data to the website.
Link to the dataset: airsoft-shop-dataset-on-mega.zip Follow
README.md
instrations inside the archive.