R
Railway•15mo ago
didiervelez

I can not deploy angular project, killed

I do not know what is the problem I hope someone can help me, Project ID dd70810d-29a4-4c5e-b7b4-f2ba13eff217 Thank you
No description
No description
11 Replies
Percy
Percy•15mo ago
Project ID: N/A
Brody
Brody•15mo ago
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
didiervelez
didiervelezOP•15mo ago
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
Brody
Brody•15mo ago
please follow the instructions i have just provided
didiervelez
didiervelezOP•15mo ago
Muchas gracias Brody, disculpa mi lentitud, gracias a tus instrucciones ya funciona y ya esta corriendo mi frontend en angular.
Brody
Brody•15mo ago
awsome! anything else you need help with?
didiervelez
didiervelezOP•15mo ago
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?
Brody
Brody•15mo ago
yeah it would be best to open another thread
didiervelez
didiervelezOP•15mo ago
Thank you for your help you are the best!
Brody
Brody•15mo ago
no problem 🙂
Want results from more Discord servers?
Add your server