sdan
sdan
Explore posts from servers
RRailway
Created by sdan on 10/15/2023 in #✋|help
can i add custom postgres extension to the postgres db?
i need to add a custom extension to the managed postgres db, can i do that?
4 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Logs down?
No description
20 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
Hey i followed the blog online and am trying to deploy my railway app under a backend/ directory in my mono repo, i tried this but getting a 500 error on github actions, any chance i can get some help?
deploy_backend:
runs-on: ubuntu-latest
name: Deploy Backend to Railway
steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Change to Backend Directory
run: cd backend

- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Install Packages
run: yarn install --frozen-lockfile

- name: Install Railway CLI
run: npm i -g @railway/cli

- name: Deploy to Railway
run: railway up
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
workingDirectory: './backend'
deploy_backend:
runs-on: ubuntu-latest
name: Deploy Backend to Railway
steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Change to Backend Directory
run: cd backend

- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Install Packages
run: yarn install --frozen-lockfile

- name: Install Railway CLI
run: npm i -g @railway/cli

- name: Deploy to Railway
run: railway up
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
workingDirectory: './backend'
11 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
Trying to save a file in media/ where can i save files ? PermissionError: [Errno 13] Permission denied: 'media/images/4b690efb-a411-478e-bb4e-ce3ce0d0964a' ERROR:root:Manim error: Command '['manim', '-ql', '-o', '/app/media/4b690efb-a411-478e-bb4e-ce3ce0d0964a.mp4', '/app/4b690efb-a411-478e-bb4e-ce3ce0d0964a.py']' returned non-zero exit status 1. python: try: output_path = f"/app/media/{screen_name}.mp4" subprocess.run(["manim", "-ql", "-o", output_path, f"/app/{screen_name}.py"], check=True)
14 replies
CDCloudflare Developers
Created by sdan on 8/20/2023 in #workers-help
github link on tutorial missing
1 replies
RRailway
Created by sdan on 5/31/2023 in #✋|help
Service is down
hi guys my service is down: https://railway.app/project/19be19f8-fe9a-438b-8425-b269d8c24d06/service/364380c7-b21a-4fde-9f86-ec63b19110e3?id=d3ecf291-3ff8-4c8c-99ff-8e90c8330bd2 it has been just hanging, i dont get any notification or indication whats up. any chance there is a diagnosis? this has been happening frequently on multiple apps want to figure out of this is user error or an issue on your end much thanks
52 replies
RRailway
Created by sdan on 5/23/2023 in #✋|help
Restart doesn't actually restart
58 replies
CDCloudflare Developers
Created by sdan on 5/19/2023 in #workers-help
Client disconnections
3 replies
RRailway
Created by sdan on 4/30/2023 in #✋|help
Plans on persistant storage?
hey is there any plans on doing persistant storage? i have a project which stores data (duckdb) onto a file than pg/redis
4 replies
RRailway
Created by sdan on 4/26/2023 in #✋|help
Run dockerfile exposing 8000 port?
i am trying to run https://github.com/chroma-core/chroma dockerfile it works on my machine but i can't expose the port 8000 on railway. the dockerfile exposes the 8000 port. heres how it runs on my machine: docker build docker run -p 8000:8000
26 replies