Browse Source

dev: added support for local development test files

pull/86/head
Darks 12 months ago
parent
commit
243ae43783
Signed by: Darks GPG Key ID: 7515644268BE1433
  1. 4
      .gitignore
  2. 5
      app/routes/__init__.py

4
.gitignore

@ -5,7 +5,7 @@ app/static/avatars/
app/static/images/trophies/
# Development files
## Development files
# Flask env
.env
@ -17,6 +17,8 @@ venv/
# pipenv
Pipfile
Pipfile.lock
# Tests files
test.*
## Deployment files

5
app/routes/__init__.py

@ -8,3 +8,8 @@ from app.routes.forum import index, topic
from app.routes.programs import index
from app.routes.posts import edit
from app.routes.api import markdown
try:
from app.routes import test
except ImportError:
pass
Loading…
Cancel
Save