feat: Makefile support & better readme
This commit is contained in:
parent
1370f823ab
commit
ea91606c63
|
@ -36,7 +36,7 @@ steps:
|
|||
key:
|
||||
from_secret: ssh_key
|
||||
script:
|
||||
- git fetch && git checkout main --force && git pull && sudo docker compose up -d --build
|
||||
- git fetch && git checkout main --force && git pull && make prod
|
||||
depends_on:
|
||||
- test
|
||||
trigger:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,3 +1,5 @@
|
|||
SHELL: /bin/bash
|
||||
|
||||
phony: dev
|
||||
dev:
|
||||
@docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d
|
||||
|
|
28
README.md
28
README.md
|
@ -16,9 +16,33 @@ cd site
|
|||
./manage.py collectstatic --no-input
|
||||
cd ..
|
||||
./dawdle.py --setup af/dawdle.conf
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
### Development:
|
||||
```
|
||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
|
||||
OR
|
||||
make dev
|
||||
```
|
||||
|
||||
Web is available via: http://localhost:8142
|
||||
|
||||
### Production:
|
||||
```
|
||||
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
|
||||
OR
|
||||
make prod
|
||||
```
|
||||
|
||||
## Differences from DawdleRPG
|
||||
- No longer a drop-in for IdleRPG and uses Sqlite database as a backend
|
||||
- Special items and Events are Anime themed
|
||||
- Mounts arrive at Level 45
|
||||
- Chatting is allowed in the channel
|
||||
- Sending commands to the bot via the #channel can be done via ! (ie: !status)
|
||||
- Debug logging of all randomness for "proof"
|
||||
- /timelapse via the web interface allows for a fun little gimmick (hard coded for us)
|
||||
- /players show IRCUser and other info at a glance
|
||||
|
||||
## Differences from IdleRPG
|
||||
|
||||
|
@ -26,7 +50,7 @@ docker compose up -d --build
|
|||
- Output throttling allows configurable rate over a period.
|
||||
- Long messages are word wrapped.
|
||||
- Logging can be set to different levels.
|
||||
- Better IRC protocol support.
|
||||
- Better IRC protocol support. (SSL!)
|
||||
- More game numbers are configurable.
|
||||
- Quest pathfinding is much more efficient.
|
||||
- Fights caused by map collisions have chance of finding item.
|
||||
|
|
Loading…
Reference in a new issue