sdan
sdan
Explore posts from servers
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
Logs down?
railway up
Indexed Compressed [====================] 100% Failed Failed to upload code with status code 504 Gateway Timeout
railway up
Indexed Compressed [====================] 100% Failed Failed to upload code with status code 504 Gateway Timeout
20 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Logs down?
getting a Failed to upload code with status code 504 Gateway Timeout when doing railway up
20 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
yeah i thought it would be cleaner to have everything in a github action but thinking again i can just do this via railway
11 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
hmm i guess i can just set it up on railway's end directly
11 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
Run railway up
railway up
shell: /usr/bin/bash -e {0}
env:
RAILWAY_TOKEN: ***
Indexing...
Uploading...
Failed to upload code with status code 504 Gateway Timeout
Error: Process completed with exit code 1.
Run railway up
railway up
shell: /usr/bin/bash -e {0}
env:
RAILWAY_TOKEN: ***
Indexing...
Uploading...
Failed to upload code with status code 504 Gateway Timeout
Error: Process completed with exit code 1.
getting a 504 timeout
11 replies
RRailway
Created by sdan on 9/12/2023 in #✋|help
Railway Github Action
https://blog.railway.app/p/github-actions for reference i think the issue is that idk if workingDirectory is the right term
11 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
that worked for this temp fix thanks
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
just checked
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
yes
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
yeah they are fine, i guess i am running subprocess.run which might make the command not have permissions
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
# Use the Manim community image as the base
FROM manimcommunity/manim:v0.10.0

# Install Flask and other dependencies
RUN pip install Flask

# Set the working directory
WORKDIR /app

# Change permissions for the working directory
RUN chmod 777 /app

# Copy your Flask app to the container
COPY . /app

# Expose the port the app runs on
EXPOSE 5000

# Command to run the application
CMD ["python", "main.py"]
# Use the Manim community image as the base
FROM manimcommunity/manim:v0.10.0

# Install Flask and other dependencies
RUN pip install Flask

# Set the working directory
WORKDIR /app

# Change permissions for the working directory
RUN chmod 777 /app

# Copy your Flask app to the container
COPY . /app

# Expose the port the app runs on
EXPOSE 5000

# Command to run the application
CMD ["python", "main.py"]
heres my dockerfile i tried to 777 the app dir but cant make folders for some reason
14 replies
RRailway
Created by sdan on 9/10/2023 in #✋|help
Trying to save a file
no dont think so, i dont need to, all files are ephemeral
14 replies
CDCloudflare Developers
Created by Jeff on 8/15/2023 in #r2
Presigned URLs
using typescript instead import { S3Client } from '@aws-sdk/client-s3' export const r2 = new S3Client({ region: 'auto', endpoint: https://${process.env.R2_ACCOUNT_ID}.r2.cloudflarestorage.com, credentials: { accessKeyId: process.env.R2_ACCESS_KEY_ID '', secretAccessKey: process.env.R2_SECRET_ACCESS_KEY '', }, })
11 replies