Some fixes in README
This commit is contained in:
@@ -6,8 +6,9 @@ Telegram bot for anonymous messages 🎭✨
|
|||||||
|
|
||||||
Prerequisites:
|
Prerequisites:
|
||||||
|
|
||||||
1. git
|
1. Linux
|
||||||
2. docker
|
2. Git
|
||||||
|
3. Docker
|
||||||
|
|
||||||
Firstly, clone the repository:
|
Firstly, clone the repository:
|
||||||
|
|
||||||
@@ -21,7 +22,7 @@ Then build the binary:
|
|||||||
./bin/a3abrewkit build
|
./bin/a3abrewkit build
|
||||||
```
|
```
|
||||||
|
|
||||||
This script will download a [brewkit](https://github.com/ispringtech/brewkit) binary and put it in the `bin` directory of the project.
|
This script will download a [brewkit build system](https://github.com/ispringtech/brewkit) binary and put it in the `bin` directory of the project.
|
||||||
|
|
||||||
After that, copy the `docker-compose.override.example.yml` to `docker-compose.override.yml` and set the environment variables:
|
After that, copy the `docker-compose.override.example.yml` to `docker-compose.override.yml` and set the environment variables:
|
||||||
|
|
||||||
@@ -33,20 +34,15 @@ services:
|
|||||||
OWNER_CHAT_ID: 123 # ID of your chat with your bot
|
OWNER_CHAT_ID: 123 # ID of your chat with your bot
|
||||||
```
|
```
|
||||||
|
|
||||||
And you're set! Lastly, run the app:
|
And you're set! Use the provided `docker-compose` wrapper script to manage the application:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
# Start
|
||||||
./bin/a3acompose up -d
|
./bin/a3acompose up -d
|
||||||
```
|
|
||||||
|
|
||||||
While making changes to the app, don't forget to restart the container:
|
# Restart to apply changes
|
||||||
|
|
||||||
```shell
|
|
||||||
docker restart anon3anon
|
docker restart anon3anon
|
||||||
```
|
|
||||||
|
|
||||||
When you're finished working on the project, bring it down using this command:
|
# Stop
|
||||||
|
|
||||||
```shell
|
|
||||||
./bin/a3acompose down
|
./bin/a3acompose down
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user