coltonidle
coltonidle
RRailway
Created by coltonidle on 8/10/2024 in #✋|help
Hosting my first vue website
I've used railway for services (mostly java/kotlin) on railway. now i want to deploy a vue template that i downloaded. i put the project on my github and then connected that to railway. but failed to deploy due to: Nixpacks build failed ╔════════ Nixpacks v1.24.0 ═══════╗ ║ setup │ nodejs_18, npm-9_x ║ ║─────────────────────────────────║ ║ install │ npm ci ║ ║─────────────────────────────────║ ║ build │ npm run build ║ ║─────────────────────────────────║ ║ start │ ║ ╚═════════════════════════════════╝ Error: No start command could be found I thought railway was supposed to be able to auto-configure nixpacks/config due to project setup. I'm assuming it can do this for vue, but since this is my first time where im not hosting a rest api, i figured id reach out to see if im doing something dumb
11 replies
RRailway
Created by coltonidle on 8/6/2024 in #✋|help
Can I define two separate services in my railway.json
I currently have { "$schema": "https://schema.up.railway.app/railway.schema.json", "build": { "builder": "NIXPACKS", "buildCommand": "./gradlew -p server clean build -x check -x test" }, "deploy": { "startCommand": "java $JAVA_OPTS -jar server/build/libs/*-all.jar" } } but now I'd like my single github repo to host two java services. I named my new service directory "server2". My first service name exist in "server" directory (as you can see in the json) What's the best way to go about this? Thanks
41 replies
RRailway
Created by coltonidle on 3/17/2024 in #✋|help
New to backend dev, what's the TLDR for adding a database to my jvm backend hosted on railway?
New to backend dev (android/kotlin dev originally) and I'm using ktor to handle some basic incoming routes at the moment. Easy stuff. I want to now be able to take an incoming route POST request and insert it into a basic sql/sqlite database (not really married to what db. ive used sqlite on android because it comes out of the box). What's the tldr for doing that on railway?
85 replies
RRailway
Created by coltonidle on 3/6/2024 in #✋|help
How to use railway with monorepo?
I created a new project and essentially my server code is not at the top level, and instead is one directory down. How do I configure this with railway?
160 replies
RRailway
Created by coltonidle on 2/12/2024 in #✋|help
What does 10% mean when choosing a new project?
No description
41 replies
RRailway
Created by coltonidle on 2/6/2024 in #✋|help
New to railway AND backend dev (im a mobile dev) Can I use ktor with railway?
I'm an android dev. I'm starting to use ktor via start.ktor.io since its kotlin and im used to kotlin. can I deploy that on railway easily?
5 replies