GithubHelp home page GithubHelp logo

Autodeploy project to Heroku about badgeyay HOT 7 CLOSED

fossasia avatar fossasia commented on August 26, 2024
Autodeploy project to Heroku

from badgeyay.

Comments (7)

S2606 avatar S2606 commented on August 26, 2024 2

@jajodiaraghav I will work on this

from badgeyay.

niccokunzmann avatar niccokunzmann commented on August 26, 2024 1

Here is a guide. https://devcenter.heroku.com/articles/github-integration

from badgeyay.

jajodiaraghav avatar jajodiaraghav commented on August 26, 2024

Can someone without admin access to the repo deploy to heroku? If yes, then I would like to work on this.

from badgeyay.

niccokunzmann avatar niccokunzmann commented on August 26, 2024

There are several things involved:

  1. Add a configuration which can be deployed to heroku (possible for people without write access)
  2. Create a hook which deploys this to heroku (possible for people with admin right, not me)

So, you can go ahead and create a "deploy to heroku button"/a heroku configuration. If this is done, the admin has alsmost no effort, I believe, to add the hook.

from badgeyay.

jajodiaraghav avatar jajodiaraghav commented on August 26, 2024

I was testing the app by deploying to heroku. Link: https://badegyay.herokuapp.com/

The shell script merge_badges.sh doesn't work. It failed with error sudo command not found
Any idea how to fix this?

from badgeyay.

niccokunzmann avatar niccokunzmann commented on August 26, 2024

Yes, sudo is not available under heroku. The build script needs some packages installed:
https://github.com/fossasia/badgeyay/search?utf8=%E2%9C%93&q=sudo&type=
You can remove this error by installing the packages before with a heroku config, if that is possible. While Heroku runs, you can not change the system too much.
Travis installs them before, as you can see in the search.

from badgeyay.

jajodiaraghav avatar jajodiaraghav commented on August 26, 2024

Here is a little help in case someone wants to work on this:

  1. Create Aptfile like so: https://github.com/jajodiaraghav/badgeyay/blob/heroku/Aptfile
  2. Create Procfile like so: https://github.com/jajodiaraghav/badgeyay/blob/heroku/Procfile
  3. Add gunicorn in requirements.txt
  4. Add symlink of requirements.txt in root folder

from badgeyay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.