Edits to the readme.

This commit is contained in:
Ada Werefox 2024-03-03 15:26:54 -06:00
parent 4dd9e43638
commit bfb1c44a9e
2 changed files with 36 additions and 30 deletions

View File

@ -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`
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.

View File

@ -7,7 +7,7 @@
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8" />
{% comment %} <meta http-equiv="refresh" content="3"> {% endcomment %}
<meta http-equiv="refresh" content="3">
{% load static tailwind_tags %}
{% tailwind_css %}
{% load static %}