railway
Connect code to a Railway project. More information: https://railway.app/.
-
Login to a Railway account:
railway login
-
Link to an existing Project under a Railway account or team:
railway link {{projectId}}
-
Create a new project:
railway init
-
Run a local command using variables from the active environment:
railway run {{cmd}}
-
Deploy the linked project directory (if running from a subdirectory, the project root is still deployed):
railway up
-
Open an interactive shell to a database:
railway connect
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.