mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 03:15:05 +08:00
Add Makefile, add announcement API, update FE
This commit is contained in:
16
Makefile
Normal file
16
Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
default:
|
||||
make dev
|
||||
|
||||
dev:
|
||||
rm -f YYeTsFE/.env
|
||||
git checkout docker-compose.yml
|
||||
git pull
|
||||
git submodule update --remote
|
||||
cp .env YYeTsFE/.env
|
||||
docker build -t bennythink/yyetsbot .
|
||||
cp ../docker-compose.yml ./docker-compose.yml
|
||||
docker-compose up -d
|
||||
|
||||
clean:
|
||||
docker rmi bennythink/yyetsbot:latest
|
||||
Reference in New Issue
Block a user