1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/railway.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

28 lines
552 B
Markdown

# 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`