You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@
30
30
31
31
## Deploy with Railway
32
32
33
-
[](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2FRizkyRajitha%2Flinkin%2F&plugins=postgresql&envs=RAILWAY%2CHASHSALT%2CPORT&RAILWAYDefault=1&HASHSALTDefault=124&PORTDefault=3000)
33
+
[](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2FRizkyRajitha%2Flinkin&plugins=postgresql&envs=HASHSALT%2CPORT%2CRAILWAY&HASHSALTDesc=Random+secret+HASHSALT+for+JWT+and+password+encryption&PORTDesc=Exposed+Port+in+Dockerfile&RAILWAYDesc=migrate+and+seed+the+database+in+railway+.+done+in+docker+image+build+time&PORTDefault=3000&RAILWAYDefault=1)
34
34
35
35

36
36
@@ -70,10 +70,10 @@
70
70
71
71
- Deploy in Railway
72
72
- set environment variables
73
-
-`DATABASE_URL` - **Postgres** database url **if you are not using** railway postgres plugin
74
73
-`HASHSALT` - random secret key
75
74
-`PORT` - 3000
76
75
-`RAILWAY` - Set to `1` to run migrations and seeding in docker build stage . set `0` to avoid migrations and seeding in docker build stage
76
+
-`DATABASE_URL` - **Postgres** database url . use this variable **if you are not using** railway postgres plugin
77
77
- after successfully deploying visit `youdomain/admin` to view admin login
0 commit comments