Skip to content

Commit

Permalink
upd base
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaakgul committed Dec 17, 2023
1 parent ca45581 commit c10a74d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## name of our workflow
#name: Django CI/CD Workflow
#
## triggers for our workflow
#on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
#
#jobs:
# build:
# runs-on: ubuntu-latest
# services:
# postgres_main:
# image: postgres:12
# env:
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: postgres
# POSTGRES_DB: djtesting
# ports:
# - 5432:5432
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Set up Python 3.6
# uses: actions/setup-python@v2
# with:
# python-version: 3.6
# - name: Install requirements
# run: pip install -r requirements.txt
# - name: Run Tests
# env:
# DJANGO_SECRET_KEY: CI_CD_TEST_KEY
# POSTGRES_DB: djtesting
# POSTGRES_HOST: localhost
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: postgres
# POSTGRES_PORT: 5432
# DEBUG: "0"
# run: |
# python manage.py test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Tech Stack
# Github: https://github.com/features/, https://docs.github.com/en
* Programming Language: Python
* Web Framework: Django
* REST Framework: Django Rest Framework -> https://www.django-rest-framework.org/
Expand Down
1 change: 1 addition & 0 deletions core/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
STATIC_URL = '/static/'
STATIC_ROOT = 'static'
# STATIC_ROOT = Path(BASE_DIR).joinpath('staticfiles') ### For Digital Ocean
# STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles") ### For Digital Ocean
# STATICFILES_DIRS = (Path(BASE_DIR).joinpath('static'),) ### For Digital Ocean

# STATIC_URL = '/static/'
Expand Down

0 comments on commit c10a74d

Please sign in to comment.