-
Notifications
You must be signed in to change notification settings - Fork 8
Run the Project
To run this project locally you just need to clone the repo and run the GrammarNazi.App project.
This project integrates with Twitter and Telegram.
For the telegram bot, you will need to create a bot and get a Telegram API Token. You need to place the Telegram API Token in launchSettings.json file.
You will not be able to run the Twitter Bot. So just comment the following line: https://github.com/nminaya/grammar-nazi-bot/blob/e170cb6a8b2e44d92b7ca94db18b750b096b4b44/GrammarNazi.App/Startup.cs#L41
Instead of using Firebase, change the following line to use InMemoryRepository: https://github.com/nminaya/grammar-nazi-bot/blob/e170cb6a8b2e44d92b7ca94db18b750b096b4b44/GrammarNazi.App/Startup.cs#L58
services.AddTransient(typeof(IRepository<>), typeof(InMemoryRepository<>));
After this, the GrammarNazi.App project should run without issues.