Un-official Telegram bot of free-programming-books.
-
Fork this repository
-
$ git clone https://github.com/YourUsername/freeprogrammingbooks-bot.git $ cd freeprogrammingbooks-bot $ git remote add upstream https://github.com/LuigiImVector/freeprogrammingbooks-bot.git $ git fetch upstream $ git checkout -b newLocalBranchName upstream/main
-
Deploy app using Heroku
-
$ npm install -g heroku $ heroku login $ heroku pg:psql --app app-name < test/database.sql $ pip install -r requirements.txt
-
Setup autodeploy from github using
newLocalBranchName
-
# After some changes $ git push -u origin newOriginBranchName
-
Open
https://app-name.herokuapp.com/
if the bot doesn't start (mainly the first time)
If you want to test the app locally before committing, read Heroku documentation.
Create a Pull Request detailing the changes made.