Skip to content

Commit

Permalink
Merge pull request #2 from eddieferrer/fixed_template_path_and_dev_db
Browse files Browse the repository at this point in the history
Fixed template folder for production and added sample dev database, a…
  • Loading branch information
eddieferrer authored Jun 25, 2020
2 parents a0ac0cf + 861d0e0 commit dedbe98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ production_settings.py
production_manage.py
logs/*
!logs/.gitkeep

# Dev database
dev-database.db
2 changes: 1 addition & 1 deletion backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
basedir = os.path.abspath(os.path.dirname(__file__))
parent_path = os.path.abspath(os.path.join(basedir, os.pardir))

app = Flask(__name__, static_folder=None, static_url_path=None, template_folder="./frontend/dist")
app = Flask(__name__, static_folder=None, static_url_path=None, template_folder="../frontend/dist")

app.config.from_envvar('SETTINGS_FILE')

Expand Down
Binary file modified dev-database.db
Binary file not shown.
Binary file added sample_dev-database.db
Binary file not shown.

0 comments on commit dedbe98

Please sign in to comment.