https://github.com/guicamargo19/bookstore-cicd
Projeto Django com Python de CI/CD
https://github.com/guicamargo19/bookstore-cicd
django docker docker-compose html5 poetry python sqlite3
Last synced: about 1 month ago
JSON representation
Projeto Django com Python de CI/CD
- Host: GitHub
- URL: https://github.com/guicamargo19/bookstore-cicd
- Owner: guicamargo19
- Created: 2024-02-27T13:57:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-25T17:09:36.000Z (about 1 year ago)
- Last Synced: 2025-02-15T04:19:05.626Z (3 months ago)
- Topics: django, docker, docker-compose, html5, poetry, python, sqlite3
- Language: Python
- Homepage: https://gcamargo.pythonanywhere.com/bookstore/v1/product/
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bookstore
Django project Bookstore App developed with Poetry for academic purposes.
This project contains CI/CD with GitHub Actions. Deploy was made at PythonAnywhere.
Project developed in the Full Stack Python course at EBAC - Escola Britânica de Artes Criativas e Tecnologia - Brazil.
## ▶️ Prequisites
- Python 3.10.5
- Poetry
- Docker && Docker-compose## 🚀 Quickstart
1 - Clone this project:
```shell
git clone https://github.com/guicamargo19/bookstore.git
```2 - Install dependencies:
```shell
cd bookstore
poetry install
```3 - Execute project:
```shell
poetry run python manage.py migrate
poetry run python manage.py collectstatic
poetry run python manage.py runserver
```Run docker dev server environment:
```shell
docker-compose up -d --build
docker-compose run web python manage.py migrate
```5. Run tests inside of docker:
```shell
docker-compose run --rm web python manage.py test
```## 🛠️ Tools used for the development of this project
* **Poetry** - Tool for managing packages and dependencies in Python.
* **Django** - Framework for fast web development, written in Python.
* **Docker** - Set of platform-as-a-service products that use operating system-level virtualization to deliver software in packages called containers.## ✒️ Author
Guilherme Ferreira Camargo