mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:02:08 +02:00
railway: add page (#9488)
This commit is contained in:
parent
07fb5f2609
commit
36f4acb33d
1 changed files with 28 additions and 0 deletions
28
pages/common/railway.md
Normal file
28
pages/common/railway.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# railway
|
||||||
|
|
||||||
|
> Connect code to a Railway project from the command line.
|
||||||
|
> 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 directly from the command line:
|
||||||
|
|
||||||
|
`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`
|
Loading…
Add table
Reference in a new issue