From a6f279191c52a2627c2809503e0b697defc1e5d9 Mon Sep 17 00:00:00 2001 From: dozens Date: Wed, 16 Apr 2025 10:39:21 -0600 Subject: Add makefile automate building and serving with make --- README.md | 42 +++++++----------------------------------- 1 file changed, 7 insertions(+), 35 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a093aa3..b1349d0 100644 --- a/README.md +++ b/README.md @@ -8,48 +8,20 @@ It needs everything, posting, and reply works! So it can be hacked on further # Full install instructions -## step 1 -If you've never done python before.. Python projects live inside little boxes call virtual envs. To set one up for this project. Do +On first run: -```shell -python -m venv venv -``` -That will set up a virtual env in the customary place. To use it -## step 2 -```shell -source ./venv/bin/activate -``` -## step 3 -Then you install the dependencies like so -```shell -pip install -r requirements.txt -``` -## step 4 -Next run migrate install, and follow all the prompts -```shell -./migrate.py install -``` -## step 5 -Finally boot app.py - -```shell -./app.py -``` -It will setup a listener on port 5052 +- `make install` +- `make migrate` +- `make run` +On subsequent runs: -## step 6 - -When done playing exit the app server by pressing ctrl-c then run -```shell -deactivate -``` +- `make run` # stuff to do on a git pull ```shell ./migrate.py upgrade-schema -pip install -r requirements.txt ``` @@ -60,4 +32,4 @@ The app server will invalidate your cookies on every make a change, and reload. I will fix this eventually. -Thus endith the instructions \ No newline at end of file +Thus endith the instructions -- cgit 1.4.1-2-gfad0