Edit readme
This commit is contained in:
parent
42b8fa0cee
commit
e05eb45d65
16
README.md
16
README.md
|
@ -14,7 +14,8 @@ An opensource telegram bot to know if you need to take the umbrella.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
||||||
**umbrello-bot**
|
**umbrello-bot** uses the [umbrello-api](https://github.com/frsposito/umbrello-api) to get weather information.
|
||||||
|
|
||||||
|
|
||||||
### 1. Search the city.
|
### 1. Search the city.
|
||||||
Search the city id with:
|
Search the city id with:
|
||||||
|
@ -49,12 +50,13 @@ Get the forecasts with:
|
||||||
### Step by step.
|
### Step by step.
|
||||||
|
|
||||||
1. Install Node.js and npm.
|
1. Install Node.js and npm.
|
||||||
2. Clone this repository.
|
2. Configure [umbrello-api](https://github.com/frsposito/umbrello-api).
|
||||||
3. Install dependencies with `npm install`.
|
3. Clone this repository.
|
||||||
4. Create a new bot with BotFather on Telegram
|
4. Install dependencies with `npm install`.
|
||||||
5. Create env file or set environment variables (read: "Environment variables")
|
5. Create a new bot with BotFather on Telegram
|
||||||
6. Build the codewith `npm run build`.
|
6. Create env file or set environment variables (read: "Environment variables")
|
||||||
7. Launch the bot with `npm run serve`.
|
7. Build the code with `npm run build`.
|
||||||
|
8. Launch the bot with `npm run serve`.
|
||||||
|
|
||||||
|
|
||||||
#### Environment Variables.
|
#### Environment Variables.
|
||||||
|
|
Loading…
Reference in New Issue