https://github.com/ariaspaez/webstore
Web store is a personal project in wich I apply all I have learned about framework Django
https://github.com/ariaspaez/webstore
django-application gitactions-workflow html5 mariadb python3 store
Last synced: 8 months ago
JSON representation
Web store is a personal project in wich I apply all I have learned about framework Django
- Host: GitHub
- URL: https://github.com/ariaspaez/webstore
- Owner: AriasPaez
- Created: 2020-10-09T20:59:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-15T05:08:21.000Z (over 5 years ago)
- Last Synced: 2025-04-08T20:51:22.541Z (11 months ago)
- Topics: django-application, gitactions-workflow, html5, mariadb, python3, store
- Language: Python
- Homepage:
- Size: 170 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebStore
Web store is a personal project in wich I apply all I have learned about framework Django
## How to install:
Clone the repository:
```git
git clone
```
Open project file:
```bash
cd WebStore
```
Install python3 and pip3, then create virtualenv:
```
virtualenv venv -p python3
```
Run virtualenv.
```
source ./venv/bin/activate
```
Install dependences:
```
pip3 install -r requirements.txt
```
## Configurations:
There is a .env.example fileinto webStorePlan folder. You must copy and paste it in the same path with the next name: <.env>
Here you can config the secret_key and another variables of project
## Database
This project use MariaDB:10.4. You can create a docker for it.
Pull the image:
```
docker pull mariadb:10.4
```
Create your docker:
```
docker run -d -p 3306:3306 --name -e MYSQL_ROOT_PASSWORD= -e MYSQL_DATABASE= -e MYSQL_USER= -e MYSQL_PASSWORD= -d mariadb:10.4
```
Where
* **** - *name of your docker*
* **** - *It is the password you want use in your user root of MariaDB*
* **** - *name of database*
* **** - *user name for the *
* **** - *password of *
Run your docker
Makemigrations, migrate and superuser:
```
python3 manage.py makemigrations
```
```
python3 manage.py migrate
```
Next line will ask you a user_name and user_password:
```
python3 manage.py createsuperuser
```
Now, you can run the app:
```
python3 manage.py runserver
```