Skip to content

Commit

Permalink
Create main.yml for github actions and CI/CD, telegram message
Browse files Browse the repository at this point in the history
  • Loading branch information
dotpep committed Feb 10, 2024
1 parent bcb5c17 commit 2b74b16
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 44 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Main Anime E-Commerce workflow

on:
push:
branches:
- main
paths-ignore:
- "**/README.md"

jobs:
print-message:
runs-on: ubuntu-latest

steps:
- name: Print a message
run: echo "Hello, World!"
send_message:
runs-on: ubuntu-latest
needs: print-message
steps:
- name: Send message
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: Деплой успешно выполнен!
93 changes: 49 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,55 @@ Full-Stack Django ecommerce project.

## Features

- [ ]
- Faker generate fakeproducts
- API support with Swagger and Redoc documentation
- Celery with Redis, Celery beat and Flower
- Docker-compose for Nginx, Gunicorn, PostgreSQL, Celery, Redis and etc.

## Tasks

- [ ] Add poetry instead pipenv

## Tech stack

Back-end:

- Python
- Django
- Django Rest Framework (DRF)
- Djoser Auth
- API
- Postgres
- Redis
- Celery

Other additonal:

- Flower for monitoring celery
- WeasyPrint for generating pdf paymnet invoice reports
- Django Crispy Forms
- Email Verification

Server-side and Othes:

- Swagger and Redoc Docs
- Nginx
- Gunicorn
- Docker
- Docker Compose
- GitHub Actions
- Git

Front-end:

- Django HTMX
- JavaScript
- Ajax
- HTML, CSS
- Bootstrap and Font Awesome
Third party API services:
- Stripe
- Yookassa

## Installation

Expand Down Expand Up @@ -170,47 +218,4 @@ POSTGRES_HOST=db
- you can also delete db.sqlite3
- specify google fonts in settings `GOOGLE_FONTS = ['Montserrat:wght@300,400,500', 'Roboto']` and pass it to (`base.html` and `index.html`)

## Tech stack

Back-end:

- Python
- Django
- Django Rest Framework (DRF)
- Djoser Auth
- API
- Postgres
- Redis
- Celery

Other additonal:

- Flower for monitoring celery
- WeasyPrint for generating pdf paymnet invoice reports
- Django Crispy Forms
- Email Verification

Server-side and Othes:

- Swagger and Redoc Docs
- Nginx
- Gunicorn
- Docker
- Docker Compose
- GitHub Actions
- Git

Front-end:

- Django HTMX
- JavaScript
- Ajax
- HTML, CSS
- Bootstrap and Font Awesome
Third party API services:
- Stripe
- Yookassa

## Contribution

## LICENCE

0 comments on commit 2b74b16

Please sign in to comment.