masmakour
masmakour
RRailway
Created by masmakour on 7/13/2024 in #✋|help
Can I use railway to deploy my django application with minio and postgresql database?
I built a huge huuuuge application with django backend, and important images stored in minio, linked to a postgres database. Now I need to deploy this somewhere. It also uses an smtp server for emails, but I’m thinking I can keep that with amazon while using railway for the rest of everything cause AWS is a pain in the ass full offense. So can I do this here and where can I find info on doing it for a case like this on railway is it in the docs? I don’t know where to start for this deployment.
52 replies
RRailway
Created by masmakour on 5/28/2023 in #✋|help
python command not found
Django app deployed properly, then attempted to createsuperuser using cli. Now it is stuck in a loop not detecting python. #11 [stage-0 7/8] RUN --mount=type=cache,id=s/44053e7d-0975-4b98-9eab-624d664d804d-/root/npm,target=/root/.npm npm ci #11 0.699 npm WARN config production Use --omit=dev instead. #11 0.821 #11 0.821 up to date, audited 1 package in 144ms #11 0.821 #11 0.821 found 0 vulnerabilities #11 DONE 0.9s #12 [stage-0 8/8] COPY . /app #12 DONE 0.1s #13 exporting to image #13 exporting layers 0.0s done #13 writing image sha256:3a05ea185a4ce27509285764261ca4596e165bff34a002aa1aae714497d1e900 done #13 naming to us-west1-docker.pkg.dev/railway-infra/railway-docker-users/project/d96366dd-c7da-4c8a-9dbf-95d248e70f02/service/44053e7d-0975-4b98-9eab-624d664d804d:33c9f401-6643-4822-989e-d20b73cd8486 0.0s done #13 DONE 0.0s === Successfully Built! === Run: docker run -it us-west1-docker.pkg.dev/railway-infra/railway-docker-users/project/d96366dd-c7da-4c8a-9dbf-95d248e70f02/service/44053e7d-0975-4b98-9eab-624d664d804d:33c9f401-6643-4822-989e-d20b73cd8486 Build time: 2.31 seconds ================ Publishing Image ================ The push refers to repository [us-west1-docker.pkg.dev/railway-infra/railway-docker-users/project/d96366dd-c7da-4c8a-9dbf-95d248e70f02/service/44053e7d-0975-4b98-9eab-624d664d804d] Preparing b269f65aa422 Preparing 123639e3fbc7 Preparing 170b5b743e1d Preparing bee98d282cd9 Preparing c9de6e28c3e3 Preparing 443c1a48a5ff Preparing 5ddae9d74b41 Preparing 5c8b00e98db9 Preparing 4e37a3391c80 Preparing 202fe64c3ce3 Waiting 5ddae9d74b41 Waiting 5c8b00e98db9 Waiting 443c1a48a5ff Waiting 4e37a3391c80 Waiting 202fe64c3ce3 Pushing [> ] 1.536kB/130.3kB b269f65aa422 Pushing [> ] 1.536kB/130.3kB 170b5b743e1d Pushing [==================================================>] 512B bee98d282cd9 Pushing 2.56kB 123639e3fbc7 Pushing [==================================================>] 2.56kB bee98d282cd9 Layer already exists c9de6e28c3e3 Pushing [==================================================>] 159.7kB b269f65aa422 Pushing [==================================================>] 160.3kB 170b5b743e1d Layer already exists 443c1a48a5ff Layer already exists 5ddae9d74b41 Layer already exists 5c8b00e98db9 Layer already exists 4e37a3391c80 Pushed bee98d282cd9 Layer already exists 202fe64c3ce3 Pushed 123639e3fbc7 Pushed 170b5b743e1d Pushed b269f65aa422 33c9f401-6643-4822-989e-d20b73cd8486: digest: sha256:46a03bb32dfd3ac9977b5a49aae87559b16dfcfc1aca2da768f868f5b0200300 size: 2413 Publish time: 0.47 seconds Showing 126 logs Crashed Deployed 3 minutes ago via CLI Removed Deployed 4 minutes ago via CLI Removed Deployed 7 minutes ago via CLI Removed Deployed 15 minutes ago via GitHub alowhost main Removed Deployed 19 minutes ago via GitHub alowhost main Removed Deployed 33 minutes ago via GitHub alowhost main Removed Deployed 35 minutes ago via GitHub Url main Removed Deployed 37 minutes ago via GitHub ori main Removed Deployed 41 minutes ago via GitHub ori main Removed Deployed 43 minutes ago via GitHub oriog main web ∕ May 28, 2023 12:53 am CRASHED Deployment has crashed Filter /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found /bin/bash: line 1: python: command not found
10 replies
RRailway
Created by masmakour on 12/23/2022 in #✋|help
Error Failed to find django application name!
Nixpacks build failed
Error: Failed to find django application name!
Nixpacks build failed
Error: Failed to find django application name!
This is all that is stated, I have no idea why it isn't finding the app name. Here is my Procfile:
release: python manage.py migrate
web: gunicorn appname.wsgi --log-file=-
release: python manage.py migrate
web: gunicorn appname.wsgi --log-file=-
Very simple. This setup worked on Heroku. Can someone help me deploying here?
6 replies
RRailway
Created by masmakour on 12/23/2022 in #✋|help
Trying to deploy django app, getting unclear error
Nixpacks build failed
Error: Failed to find django application name!
Nixpacks build failed
Error: Failed to find django application name!
This is all that is stated, I have no idea why it isn't finding the app name. Here is my Procfile:
release: python manage.py migrate
web: gunicorn appname.wsgi --log-file=-
release: python manage.py migrate
web: gunicorn appname.wsgi --log-file=-
Very simple. This setup worked on Heroku. Can someone help me deploying here?
28 replies