El Queso Bandito
El Queso Bandito
RRailway
Created by El Queso Bandito on 8/15/2024 in #✋|help
Adonisjs v6 app, migrations and seeder not running
I've been able to succesfully build and deploy my Adonisjs v6 app, with the below nixpack, the only issue that I'm running into now is that I can't login since my initial migrations didn't run and I'm not sure why since it looks like that should've been part of the build. I'm relatively new to nixpacks so any pointers or tips would be appreciated
[phases.setup]
nixpkgs = [
"nodejs_22",
"postgresql_13"
]

[phases.install]
cmds = [
"npm ci"
]

[phases.build]
cmds = [
"npm run build",
"cd build && npm ci",
"node ace migration:run"
]

[start]
cmd = "node ace serve"
[phases.setup]
nixpkgs = [
"nodejs_22",
"postgresql_13"
]

[phases.install]
cmds = [
"npm ci"
]

[phases.build]
cmds = [
"npm run build",
"cd build && npm ci",
"node ace migration:run"
]

[start]
cmd = "node ace serve"
12 replies
RRailway
Created by El Queso Bandito on 7/29/2024 in #✋|help
Volumes and tmp storage space
I'm working on an Adonisjs v6 project that's a media app handling large video files, most of the files will be manageable 150-200mb or less, but in the outside chance that user's try to upload significantly larger files multiple gb, would I have to use a volume, and then I'm limited by the volume restrictions by my account tier? 5gb what are my options for processing file uploads on the server? I'm using S3 for long term storage, but Adonis has built in validators for multipart file uploads and if possible I'd like to keep the upload code as simple as possible for now, and also, that leaves the door open to do some processing and validation with ffmpeg if I wanted. I know s3 presigned urls are also an option later on, but was wondering if anyone had any insights into working with large files on railway deployments
16 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
No description
27 replies