added .env files

This commit is contained in:
Marvin Zhang
2021-11-05 13:22:28 +08:00
parent 76cc9edfd7
commit 3a1f08dfca
4 changed files with 4 additions and 121 deletions

121
.gitignore vendored
View File

@@ -1,128 +1,9 @@
.idea/
.vscode/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
# node_modules
node_modules/
# egg-info
*.egg-info
# .DS_Store
.DS_Store
.docks
.docs
node_modules/
logs/
tmp/
_book/
.idea
*.lock
backend/spiders
spiders/*.zip
vendor/

1
frontend/.env Normal file
View File

@@ -0,0 +1 @@
VUE_APP_API_BASE_URL=

1
frontend/.env.docker Normal file
View File

@@ -0,0 +1 @@
VUE_APP_API_BASE_URL=/api

View File

@@ -5,7 +5,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"build:docker": "npm run build"
"build:docker": "vue-cli-service build --mode docker"
},
"author": {
"name": "Marvin Zhang",