R
Railway

✋|help

I can not deploy angular project, killed

Ddidiervelez9/7/2023
I do not know what is the problem
I hope someone can help me,
Project ID dd70810d-29a4-4c5e-b7b4-f2ba13eff217
Thank you
BBrody9/7/2023
ng serve starts a development server, you do not want to run a development server on railway, as you can see it started to use more than 512mb of ram and was killed
to deploy an angular app properly you will need to use a production ready web server, here is a angular template that does just that
https://github.com/brody192/angular-template
- make sure that outputPath in your angular.json is set to just dist
- copy the nixpacks.toml and Caddyfile from that repo into your repo
Ddidiervelez9/7/2023
In this template I do not see de script start {
"name": "angular-template",
"version": "1.0.0",
"scripts": {
"ng": "ng",
"dev": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
}, When i delete this command of my project, it do not deploy
BBrody9/7/2023
please follow the instructions i have just provided
Ddidiervelez9/7/2023
https://tenor.com/view/minions-muchas-gracias-thanks-gif-14864080
Muchas gracias Brody, disculpa mi lentitud, gracias a tus instrucciones ya funciona y ya esta corriendo mi frontend en angular.
BBrody9/7/2023
awsome! anything else you need help with?
Ddidiervelez9/7/2023
No Brody, with this frontend no, but i have problem with my backend in .net 6, i have to open another topic in this channel?
BBrody9/7/2023
yeah it would be best to open another thread
Ddidiervelez9/7/2023
Thank you for your help you are the best!
BBrody9/7/2023
no problem 🙂

Looking for more? Join the community!

Recommended Posts
NPM ssh dependancyHi I'm running into an issue where I'm using a private github npm dependancy and the build step is How to set mailgun to Ghost(docker) + SqliteI had used Ghost with mysql, but currently I try to use a new Ghost template with Sqlite. I did not Timeout while waiting for registry?All of my deploys have been building successfully but failing to deploy for the past ~hour or so. TContainer is failing to start.Everything was working fine, I just added a few new features to the app and now it is failing to depSeeing failures in deploying saying container shut down, but cannot find the container logs.Need help figuring out how to debug this issue with deploying to prod. From my end I don't think theHow to Delete Project?How do I delete a project I created so it doesn't show up in my homepage? Railway's documentation juInitial Deployment Continues To FailHello everyone. I am trying to setup, and stuck at the starting line. All ive done is connect githubDeployments sometimes takes timeMany times deployments take more than 5 minutes, although it should take less than 1 minute.Sveltekit memory usagemy sveltekit apps are almost locked to 100mb memory, anyone knows if theres like an option or somethOpen SourceHi, I am Richard, creator of ExpressoTS framework. Currently we are working in a section of our docuDifficulty with deploying a Flask + React appHi - I have a code architecture with a Flask backend (python) and a Node React frontend. The architeAny way to measure API Metrics for APIs deployed via Railwaythe no. of requests, the avg response timeMultiple accounts with same Github account?Can I somehow have multiple accounts but use code from the same Github account? I want to have a sepCan't create accountI try to signup using email but only get this error: "Device requesting login is not supported pleaRedis Data not showing up. Also not able set the key as well from redis-cliI am not able to access redis via the Console of railway as well not set any key via redis cliregion is only exclusive for pro plan?i'm planning to subscribe to hobby plan because it's more fit for me but my only concern is that i cServer is not builtUntil last night at 2am I sent a PR and the server was updated this morning, I hired a professional How to increase the disk size of a volume?Hey is there a option to increase the size of a volume we need 10gb? Thx for helpI cant pay my doubtIm trying to use Railway services again and found that i owe it a subcription so im trying to pay itStrange deploy via GH ActionProject ID: 39c29a28-1554-436c-81ec-937a6e54b580 Hello everyone, i am having a small issue while de