Skip to content

Commit

Permalink
Restructure project files (#2)
Browse files Browse the repository at this point in the history
* move frontend app one dir up

* add nvmrc

* refactor build stage

* refactor nginx config

* refactor dockerfile

* cleanup
  • Loading branch information
andreiio authored Sep 2, 2022
1 parent 18e8418 commit 3c76d85
Show file tree
Hide file tree
Showing 178 changed files with 166 additions and 974 deletions.
2 changes: 2 additions & 0 deletions api/.dockerignore → .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*/node_modules

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
File renamed without changes.
10 changes: 3 additions & 7 deletions .env → .env.example
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
DEBUG=True
DATABASE_URL=postgres://postgres:postgres@paul-db/paul
CORS_ALLOWED_ORIGINS=http://localhost:8080,http://localhost:8081
ALLOWED_HOSTS=localhost
CORS_ALLOWED_ORIGINS=http://localhost:8080
ALLOWED_HOSTS=localhost:8080
SECRET_KEY="so-secret-please-don't-tell-anyone"

VUE_APP_ROOT_API=http://localhost/api/

DJANGO_ADMIN_USERNAME=aaaa
DJANGO_ADMIN_EMAIL=[email protected]
DJANGO_ADMIN_PASSWORD=aaaa
Expand Down Expand Up @@ -33,11 +31,9 @@ POSTGRES_PASSWORD=postgres
POSTGRES_DB=paul

# celery & redis settings
CELERY_BROKER_URL=redis://redis:6379/0
# CELERY_BROKER_URL=redis://redis:6379/0

USE_AZURE=
AZURE_ACCOUNT_NAME=
AZURE_ACCOUNT_KEY=
AZURE_CONTAINER=


75 changes: 0 additions & 75 deletions .github/CONTRIBUTING.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

164 changes: 0 additions & 164 deletions .github/WORKFLOW.md

This file was deleted.

25 changes: 23 additions & 2 deletions api/.gitignore → .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
.DS_Store
node_modules
dist

# local env files
.env.local
.env.*.local
.env

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down Expand Up @@ -112,8 +135,6 @@ media/
# !**/migrations
# !**/migrations/__init__.py



# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

Expand Down
Loading

0 comments on commit 3c76d85

Please sign in to comment.