hello world railway app
Go 100%

README.md

hello railway #

Demo setup for Railway deployment for basic go app

setup up railway project and service then deploy once locally #

  • brew install railway install the railway cli
  • railway login authenticate the cli
  • railway init set up a new project
  • railway add set up new empty service
  • railway up deploy your service

setup continuous deployments #

  • railway open open the project console and create a project token
  • go to project architecture, select service, under variables open "8 variables added by Railway", copy RAILWAY_SERVICE_ID
  • under your tangled repo settings, under pipelines, assign a tangled repo spindle add a pipeline secrets named RAILWAY_TOKEN and RAILWAY_SERVICE_ID

From here, pushes to the your Tangled repo's main branch/bookmark will trigger a Railway deployment