diff --git a/README.md b/README.md index c2b46a1..4ead242 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,34 @@ # Tunic Tracker Redux ``` - _________ ___ ___ ________ ________ -|\___ ___\\ \|\ \|\ ___ \|\ ____\ -\|___ \ \_\ \ \\\ \ \ \\ \ \ \ \___| - \ \ \ \ \ \\\ \ \ \\ \ \ \ \ - \ \ \ \ \ \\\ \ \ \\ \ \ \ \____ - \ \__\ \ \_______\ \__\\ \__\ \_______\ - \|__| \|_______|\|__| \|__|\|_______| - _________ ________ ________ ________ ___ __ _______ ________ -|\___ ___\\ __ \|\ __ \|\ ____\|\ \|\ \ |\ ___ \ |\ __ \ -\|___ \ \_\ \ \|\ \ \ \|\ \ \ \___|\ \ \/ /|\ \ __/|\ \ \|\ \ - \ \ \ \ \ _ _\ \ __ \ \ \ \ \ ___ \ \ \_|/_\ \ _ _\ - \ \ \ \ \ \\ \\ \ \ \ \ \ \____\ \ \\ \ \ \ \_|\ \ \ \\ \| - \ \__\ \ \__\\ _\\ \__\ \__\ \_______\ \__\\ \__\ \_______\ \__\\ _\ - \|__| \|__|\|__|\|__|\|__|\|_______|\|__| \|__|\|_______|\|__|\|__| - ________ _______ ________ ___ ___ ___ ___ -|\ __ \|\ ___ \ |\ ___ \|\ \|\ \ |\ \ / /| -\ \ \|\ \ \ __/|\ \ \_|\ \ \ \\\ \ \ \ \/ / / - \ \ _ _\ \ \_|/_\ \ \ \\ \ \ \\\ \ \ \ / / - \ \ \\ \\ \ \_|\ \ \ \_\\ \ \ \\\ \ / \/ - \ \__\\ _\\ \_______\ \_______\ \_______\/ /\ \ - \|__|\|__|\|_______|\|_______|\|_______/__/ /\ __\ - |__|/ \|__| + _________ ___ ___ ________ ___ ________ +|\___ ___\\ \|\ \|\ ___ \|\ \|\ ____\ +\|___ \ \_\ \ \\\ \ \ \\ \ \ \ \ \ \___| + \ \ \ \ \ \\\ \ \ \\ \ \ \ \ \ \ + \ \ \ \ \ \\\ \ \ \\ \ \ \ \ \ \____ + \ \__\ \ \_______\ \__\\ \__\ \__\ \_______\ + \|__| \|_______|\|__| \|__|\|__|\|_______| + _________ ________ ________ ________ ________ ___ _________ ___ ________ ________ +|\___ ___\\ __ \|\ __ \|\ ___ \|\ ____\|\ \|\___ ___\\ \|\ __ \|\ ___ \ +\|___ \ \_\ \ \|\ \ \ \|\ \ \ \\ \ \ \ \___|\ \ \|___ \ \_\ \ \ \ \|\ \ \ \\ \ \ + \ \ \ \ \ _ _\ \ __ \ \ \\ \ \ \_____ \ \ \ \ \ \ \ \ \ \ \\\ \ \ \\ \ \ + \ \ \ \ \ \\ \\ \ \ \ \ \ \\ \ \|____|\ \ \ \ \ \ \ \ \ \ \ \\\ \ \ \\ \ \ + \ \__\ \ \__\\ _\\ \__\ \__\ \__\\ \__\____\_\ \ \__\ \ \__\ \ \__\ \_______\ \__\\ \__\ + \|__| \|__|\|__|\|__|\|__|\|__| \|__|\_________\|__| \|__| \|__|\|_______|\|__| \|__| + \|_________| + _________ ________ ________ ________ ___ __ _______ ________ +|\___ ___\\ __ \|\ __ \|\ ____\|\ \|\ \ |\ ___ \ |\ __ \ +\|___ \ \_\ \ \|\ \ \ \|\ \ \ \___|\ \ \/ /|\ \ __/|\ \ \|\ \ + \ \ \ \ \ _ _\ \ __ \ \ \ \ \ ___ \ \ \_|/_\ \ _ _\ + \ \ \ \ \ \\ \\ \ \ \ \ \ \____\ \ \\ \ \ \ \_|\ \ \ \\ \| + \ \__\ \ \__\\ _\\ \__\ \__\ \_______\ \__\\ \__\ \_______\ \__\\ _\ + \|__| \|__|\|__|\|__|\|__|\|_______|\|__| \|__|\|_______|\|__|\|__| ``` I think we can do better with Tunic tracking so I'm gonna make something and if it works out that's awesome but for now I just wanna make it. ## Requirements -You'll need `python` to use this for now, so make sure you have that installed. +You'll need `python` and `npm` to use this for now, so make sure you have those installed. ## Setup @@ -40,14 +40,20 @@ Consider making a venv for this. `python -m venv "./.venv"` +Install the node modules with: + +`npm install` + ## Usage -Make sure that the saved filepath in the script matches your filepath. It defaults to where *my* spoiler log is. +Because of the way tailwindcss is used in development, you'll need to run two separate commands. -``` -def import_entrances(spoiler_log='/path/to/Spoiler.log'): -``` +One for tailwindcss: -Then run it with: +`python manage.py tailwind start` -`python start.py` \ No newline at end of file +One for the django server: + +`python manage.py runserver 8080` + +You should then be able to connect by going to http://localhost:8080 in a browser. \ No newline at end of file diff --git a/tunictracker/tracker/templates/index.html b/tunictracker/tracker/templates/index.html index 483c978..760a047 100644 --- a/tunictracker/tracker/templates/index.html +++ b/tunictracker/tracker/templates/index.html @@ -7,7 +7,7 @@ - {% comment %} {% endcomment %} + {% load static tailwind_tags %} {% tailwind_css %} {% load static %}