Compare commits

..

2 Commits

Author SHA1 Message Date
Lexi / Zoe c4ae7f2759
add basic Makefile, requirements.txt 2019-11-10 02:26:46 +01:00
Lexi / Zoe aba8213053
update .gitignore 2019-11-10 02:17:29 +01:00
4 changed files with 21 additions and 3 deletions

3
.gitignore vendored
View File

@ -11,9 +11,7 @@ db.sqlite3
# Environments # Environments
.python-version .python-version
.env
.venv .venv
env/
venv/ venv/
# Distribution / packaging # Distribution / packaging
@ -27,3 +25,4 @@ pip-delete-this-directory.txt
# IDE stuff # IDE stuff
.idea/ .idea/
.vscode/

18
Makefile Normal file
View File

@ -0,0 +1,18 @@
# General settings
APP_NAME := tofu
PYTHON ?= python3
# Development server
SERVER_LISTEN ?= 0.0.0.0:8037
.PHONY: run
# Default target: none
all:
### Local development
# Run django development server
run:
$(PYTHON) manage.py runserver $(SERVER_LISTEN)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import os import os
import sys import sys

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
django