Skip to content

Commit 5e2c0ad

Browse files
committed
Add deployment methods
1 parent b3b6059 commit 5e2c0ad

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed

README.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ If you like this project, please leave a 🌟.
77

88
---
99

10+
- [Features](#features)
11+
- [Usage](#how-to-use)
12+
- [Contributing](#contributing)
13+
14+
---
15+
1016
## Features
1117

1218
```
@@ -31,14 +37,20 @@ If you like this project, please leave a 🌟.
3137

3238
---
3339

34-
## NOTE
40+
## Deploy
3541

36-
```
37-
- Do not clone this repo (You can fork it instead).
38-
- Use this bot at your own risk.
39-
- This bot can be a little bit slow cuz using cloudfare workers for scrapping product data (To avoid ip blocking from Amazon & Flipkart)
40-
```
42+
- [![Deploy with Heroku](https://www.herokucdn.com/deploy/button.svg "Deploy with Heroku")](https://heroku.com/deploy?template=https://github.com/siddiquiaffan/price-tracker "Deploy with Heroku")
43+
44+
- [![Deploy+on+Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https://github.com/siddiquiaffan/price-tracker&envs=ADMINS,BOT_TOKEN,DB_URL,WORKER_URL,API_KEY,LIMIT&ADMINSDesc=Telegarm+ids+of+admins+separated+by+space&BOT_TOKENDesc=Get+Your+Bot+Token+From+@BotFather.&DB_URLDesc=Create+A+Database+In+Mongodb+And+Get+URL.&WORKER_URLDesc=Paste+worker.js+code+in+Cloudfare+Worker+and+get+url.&API_KEYDesc=Any+secret+key+to+access+API&LIMITDesc=Limit+of+products+to+track+per+user.)
4145

46+
- ### Local -
47+
48+
```
49+
- Clone Repository
50+
- Install Dependencies (npm install)
51+
- Create .env file and fill it with your details.
52+
- Start App (npm start)
53+
```
4254
---
4355
4456
## Contributing
@@ -51,6 +63,16 @@ If you like this project, please leave a 🌟.
5163
5264
---
5365
66+
## NOTE
67+
68+
```
69+
- Do not clone this repo (You can fork it instead).
70+
- Use this bot at your own risk.
71+
- This bot can be a little bit slow cuz using cloudfare workers for scrapping product data (To avoid ip blocking from Amazon & Flipkart)
72+
```
73+
74+
---
75+
5476
## License
5577
5678
[LICENSE](https://github.com/siddiquiaffan/price-tracker/blob/main/LICENSE)

0 commit comments

Comments
 (0)