Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Heroku #43

Closed
Macleykun opened this issue Mar 12, 2018 · 10 comments
Closed

Support for Heroku #43

Macleykun opened this issue Mar 12, 2018 · 10 comments

Comments

@Macleykun
Copy link
Contributor

Macleykun commented Mar 12, 2018

Status: on hold

In the near future, when the transition from SQLite/MySQL to mongodb is fully working on stable. These docs can be used to host your selfhosted Discord.RSS. The solution provided is also known as a PaaS solution.

Todo:
x Test selfmade instruction.
x Improve steps so everything can be done trough the git bash/heroku cli.

  • Discuss placement of Procfile. Include in project or rather download?
    x Issue?: not sure if a web worker is created even if procfile is used at first launch. If so, maybe look if project uses a port to contact the outside world. If using a different project's file. The web worker will work withoud dying in 90seconds.

Provided files can be used if you can't wait for it. But only ping Macley#9105 if you get any troubles.
Procfile you need to instert before ever pushing to heroku: https://mega.nz/#!XY43yT6T!8oyAxGGnv7NZ25IgmNYxrPe4kBdNFk_m4DJTfPv8I6U

@Macleykun
Copy link
Contributor Author

Instruction.v1.txt
Tried instruction, found some silly mistakes like mention to the user to copy their files to the heroku folder.
Web worker can't be used. Instead using worker. Made a extra command so users default start the worker. They don't have to worry to stop the bot. They can just keep updating and the app restarts itself.

@synzen could you do a review on this? Sorry if you don't like the format :P

@synzen
Copy link
Owner

synzen commented Mar 19, 2018

Just tried it and it's working remarkably well. Though it might be prudent to mention that the procfile must be included in directory in the instructions

@Macleykun
Copy link
Contributor Author

You sure you used the v1 file?
2. Add the all the files (Expect the .git folder) and the procfile into the folder were gonna use to push the files to Heroku.

Says that indeed procfile needs to be added :-)

@synzen
Copy link
Owner

synzen commented Mar 19, 2018

Ah right my mistake, yeah there it is

@Macleykun
Copy link
Contributor Author

Btw about that procfile. We could insert the procfile in the git itself. Then people only have to copy paste their files to the folder with the .git to their heroku app.

@synzen
Copy link
Owner

synzen commented Mar 19, 2018

Insert into git itself?

@Macleykun
Copy link
Contributor Author

Inside your git project. The discord.rss project i mean.

So users don't have to download that file seperately

@synzen
Copy link
Owner

synzen commented Mar 19, 2018

ah have it part of the repo. yeah sure. dm me the final version of the procfile and it'll be in the next commit

@Macleykun
Copy link
Contributor Author

Closing issue (after docs are up) solution:

The final tested instruction:
Instruction Heroku Final.txt

The final tested procfile (soon in your local Discord.RSS folder!)
https://cdn.discordapp.com/attachments/315488301886865408/425364645273010177/Procfile

@Macleykun
Copy link
Contributor Author

Closed
Solved: #45
Soon will be updated for Dev docs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants