Update .env configuration in README.md

This commit is contained in:
Milan Mehra 2023-05-13 12:32:09 -05:00 committed by GitHub
parent 20653abc58
commit c4afefbebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,11 +18,14 @@ git clone github.com/milanmdev/verge-mastodon-bot
yarn install
```
3. Create a `.env` file in the root directory of the project and add the following environment variables:
```bash
ACCESS_TOKEN=YOUR_ACCESS_TOKEN
```env
ACCESS_TOKEN=token
INSTANCE_URL=https://your-instance.url
FETCH_URL=https://www.theverge.com/rss/index.xml
FETCH_INTERVAL=5
NODE_ENV=production
```
4. Run the bot
```bash
yarn start
```
```