The repository "albums-shop" is a collection of code and files related to an online shop for purchasing albums, built with Django.
- Django
- HTML, CSS
- Python (for data parsing)
- If you wish to run your own build, first ensure you have installed Python on your computer globally.
- If everything is installed, clone this repository to your computer:
https://github.com/TeraBasedProgrammer/albums-shop- Setup dependencies
-
Cd into the project directory
$ cd albums-shop -
Create a python virtual environment
$ python -m venv env
-
Activate venv
- Linux
$ source env/bin/activate- Windows (run the file)
$ env\Scripts\activate.bat
-
Install dependencies
$ pip install -r requirements.txt
-
- Run the application
- Makefile
or$ make run
- manage.py
$ python manage.py runserver 8000
Open the main shop page (http://localhost:8000/albums/). If everything is OK you should see this:
For now, website has no data. To make it look like it has to be, you should type following command in terminal:
make setupdbor
python manage.py setup-dbIt will activate the script that will automatically set up the database. After the script runs, the site should look like this:
- To use website as administrator you should create a superuser: In terminal write the following command:
$ python manage.py createsuperuserFollow the steps, suggested by Django and then log in the system (localhost:8000/login)
Main functions of the website:
- User registration / authentication
- Albums shop (sorting, searching, viewing, purchasing, cart page)
- Admin panel for CRUD operations with albums and related models, for orders and users managing(admin-only features)
This project is licensed under GPL v3 license. See file LICENSE.txt.
Feel free to contribute to the project. PR are welcome.
You can reach me in telegram if you need.

