A convene
Neighborhood will eventually be deployable in several ways.
Currently, we support deploying to:
- Heroku via:
- GitHub
Each of these methods is discussed in detail below:
Deploying from GitHub is perhaps arguably the easiest way to deploy to Heroku,
as it can be done entirely using their GUIs through Heroku-GitHub integration.
An overview is discussed below,
but please see the GitHub Integration page on Heroku's site for details.
- Make sure you have both GitHub and Heroku accounts.
- In GitHub, Fork the
convene
repo. - Inside Heroku:
- Make a new pipeline
- Give the pipeline a unique name
- Click "
Connect to GitHub
" button, and follow instructions to connect- If you have previously connected with GitHub, you should be able to search and select the repo
- Search for and select the appropriate repo (the fork of
convene
) - Click "
Create Pipeline
"
- In new pipeline's "
Pipeline
" tab, click "Add App
" then "Create new app...
"- Give another unique name
- Create
- In the new app's "
Deploy
" tab and enable automatic deploys - Go to the app's "
Settings
" tab:- Click "
Add buildpack
", selectnodejs
, then click "Save changes
" - Click "
Add buildpack
", selectruby
, then click "Save changes
" - (These are already specified in the
app.json
file, but this wasn't working during testing.)
- Click "
- You should be able to deploy by either:
- pushing to your "
main
" branch and have it automatically deploy or - go to the app's "
Deploy
" tab and click the "Deploy Branch
" button at the bottom of the page.
- pushing to your "
- Make a new pipeline
If you run into issues with this process that are not resolved with a bit of research, please do not hesitate to contact us!
Information you'll need:
- email address(es) of the initial Space Member(s)
- name of the Space (this will be converted to a slug)
- if they will be using a branded domain, what is the name of the domain?
Once you have this information:
- Logged into your Convene operator account, go to the root of your Convene neighborhood (e.g.https://neighborhood.zinc.coop/)
- Click on "Add a Space", enter the space name and hit "Create". The name will be slugified to create the slug for the Space.
- Click on the gear to the left of the space name on the top left, to go to the Space configuration page.
- Go to "Invitations", and add invite the initial Space Members to the Space
- If the Space wants a branded domain:
- Add the domain to the Heroku "Domains" configuration, under Settings > Domains. This will give you a DNS target, which you can give back to the client to configure their DNS to point their custom domain to your Convene Neighborhood.
- Add the domain to the Space via the Rails console:
$ heroku run rails c -a <YOUR CONVENE DEPLOYMENT NAME>
[...]
irb(main):005:0> space = Space.find_by(slug: "THE-SPACE_SLUG")
irb(main):005:0> space.update!(branded_domain: "THE_DOMAIN.NET")