Are your git repositories accessible by others? - heroku

I am putting my code onto git-hub so it can be deployed by Heroku. Will anyone (other than me) be able to access and view the repository that I make? Thanks.

Check the PRICING menu in the home page.
Plans for all workflows
GitHub is free to use for public and open source projects. Work
together across unlimited private repositories with a paid plan.

Answer for your question is Yes, If you have a free GitHub account you can only create public repositories.
There are several ways you can solve your problem with out actually paying to GitHub.
You can use Heroku Git
You can use dropbox
In both of these ways you can have your code private

Related

Is a Apple Provisioning Profile a private/secret file?

I just created a *.provisionprofile through the Apple developer portal and I am not sure if I can add this to my Git repo. The documentation refers to this at multiple locations, but I am unable to find further information if this file is something that can be shared.
Is this a file that contains private information?
Private, at least to the general public. You'd need to deploy it in your team's CI so your team would be able to see it too, but there's no risk of them getting access to your account with it. There's also the risk of others using it to generate a malicious copy of your app, but actually deploying it to a device requires more workaround. They can't just push it to App Store without breaking into your account, at which point they could just generate a new profile.

CI/CD in GitHub repositories

I want to create a simple CI/CD GitHub system for academic purposes and better understanding of the system. I want to know how can I check if a repository was updated or how can I call and API every time a commit is done. I thought about using GitHub Actions but I think is better if I could do this configurations in the system instead of going in each repository on GitHub.
GitHub Actions is the best way to get started with CI/CD, in my opinion. It's well integrated with GitHub, which most people are already familiar with, and it's plethora of tools are well documented in easy-to-follow tutorials on the GitHub website. If you don't have a very good reason not to use GitHub Actions, and are trying to learn, I would suggest you reconsider.
If you are hellbent on not using GitHub actions, where are you deploying the application? If Azure, use Azure's pipelines (it's the exact same syntax as github actions, btw.); if using AWS or GCP, use the respective CI/CD pipeline UIs offered by those platforms. If you're hosting/deploying on your own machine using something like GitLab, its syntax is very similar to GitHub Actions anyway, and GitLab has good documentation and tutorials as well.
So basically, your options are to use GitHub Actions, which is easy to pick up and highly recommended, or use the pipeline of whichever service you're using to deploy your application.

Heroku organizations are still available?

I am wondering if Heroku still has support for organization accounts. I have followed the steps on this page and can not see the organization create form.
Anyone knows if the feature is still available?
This feature is currently available exclusively through the Heroku sales channel. For more information about Heroku organizations, please see
https://devcenter.heroku.com/categories/organization-accounts.

Creating pages with Nesta on Heroku

I am looking to roll a simple CMS with Ruby and preferably Sinatra. www.nestacms.com looks like a terrific candidate.
Some key objectives:
Allow business users to add/edit/remove pages (not via git but via app functionality)
Deploy on Heroku
As I understand, Nesta pages are generated by static page files in your deployment. Which is fine if you add via git and push to Heroku.
But if you're wanting to create pages (files) in a Heroku web app, this isn't possible due to Heroku's read-only file system.
Looking for help around:
Achieving objectives with Nesta and Heroku
Alternative approaches
Github has an editor to manipulate files and buttons to create/merge branches in browser.
You may want store your content related media on a cloud storage services (such as dropbox, google drive, cloudflare etc.) You also can connect/mount these storages like drives via WebDAV or some other tools depending on your prefered service provider & OS.
snap-ci offers free and easy to use integration service for automated tests and/or deployment (heroku or your VPS/server). When master branch changed github webhook triggers snap-ci and your website will deploy in average 1 minute.

Share a folder between Heroku App

For my project, I would like to be able to setup multiple websites (App) and according to the requirements from a clients, I will activate and setup modules. Those modules could be a news module, images viewer module and so on.
My engine, which consist of scripts and libraries that manage a few things such as the WebApp routing, the modules, user rights for the CMS. I would like to get this code shared among all my App to avoid unseless duplication.
I would like to know what's the best way to do this on Heroku since I am totally new to this (Heroku) and I am not totally sure if that is feasable.
Also, am I wrong to believe that each websites is an App even if basically the only difference between them are the template and a single setup file?
Thank you
If you have no experience with git get familiar with it.
I would suggest to have one application with different branches in which you keep the configuration specific to the instance.
You create an app instance for each website.
You push the specific branch to the specific app, e.g.
git push git#heroku.com:.git :master

Resources