Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
HatsekideeAI committed Jan 15, 2025
0 parents commit c766a19
Show file tree
Hide file tree
Showing 66 changed files with 918 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**/.idea/
/**/.DS_Store

/**/docker/redis/*
!/**/docker/redis/.gitkeep
/**/docker/apache/logs/*
!/**/docker/apache/logs/.gitkeep
/**/docker/mysql/dbdata/*
/**/docker/postgres/dbdata/*
/**/docker/nginx/logs/*
!/**/docker/nginx/logs/.gitkeep
Empty file added .env.example
Empty file.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Django CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/development.txt
- name: Run migrations
run: |
python src/manage.py migrate
- name: Run tests
run: |
python src/manage.py test
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Python
__pycache__/
*.py[cod]
*.so
*.egg
*.egg-info/
dist/
build/
.eggs/

# Virtuele omgevingen
.env
.venv/
venv/
ENV/
env/

# IDE-specifieke bestanden
.vscode/
.idea/

# Logbestanden
*.log

# Databasebestanden
*.sqlite3
*.db

# SSL-certificaten
docker/nginx/ssl/
certbot/letsencrypt/

# Django statische en media bestanden
staticfiles/
media/

# Output map
output/
storage/
19 changes: 19 additions & 0 deletions LICENSE.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2019-2023 Vagner dos Santos Cardoso

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Empty file added config/database.py
Empty file.
Empty file added config/requirements/base.txt
Empty file.
Empty file.
Empty file.
Empty file added config/settings.py
Empty file.
5 changes: 5 additions & 0 deletions docker/.hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
strict-labels: true
ignored:
- DL3003 # Use WORKDIR to switch to a directory
- DL3018 # Pin versions in apk add.
- DL4006 # Set the SHELL option -o pipefail before RUN with a pipe in it.
Loading

0 comments on commit c766a19

Please sign in to comment.