Тёмный

Angular build(serve)- prod, test, qa environment 

CodeSpace
Подписаться 20 тыс.
Просмотров 39 тыс.
50% 1

How to build angular application for different environment like development, testing environment and production environment.
Angular tutorial series: • Pros and Cons of Angul...
Angular material : material.angular.io/
Get started with angular : • Angular 5 series for b...
Web page Navigation in Angular : • Router and navigation ...
Rest-api call in Angular: • Services, Rest api cal...
------------------------------------------------
Follow me on:
►RU-vid : bit.ly/2W1X7zz
►Facebook : / e.codespace
►LinkedIn : / gourabpaul
►Twitter : / gourab_p
-----------------------------------------------
#angular

Наука

Опубликовано:

 

30 янв 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@saurabhmorey9424
@saurabhmorey9424 2 года назад
I have 4 env files local, qa, stage, prod but when I’m building with stage environment it is still reading values for qa environment. I’m using Angular 11 and have added all environments in Angular.json file as well still unable to figure out why it is reading values from qa env file
@cebabu
@cebabu 2 года назад
Thank a lot . I want to build and deploy angular app to dev, test and production azure subscription/ Environment . Each environment has two web app, one for angular and other for backend rest API. I want use azure devops for build and deployment. Now to pass these environment specific url and setting during build AND DEPLOY TO EACH ENVIRONMENT. Could you please your suggestions and references to achieve this. Thank you once again
@macmacmac740
@macmacmac740 4 года назад
Helpful. Thanks.
@codespace
@codespace 4 года назад
Welcome. My pleasure
@benjack9459
@benjack9459 2 года назад
when i give a ng build... the dist folder index file while opening show empty
@ApurvTripathi-mc3iy
@ApurvTripathi-mc3iy Месяц назад
dist folder is created now what to do ?? how to deploy in production server
@AniruddhaGA
@AniruddhaGA 3 года назад
Failed to load resource: the server responded with a status of 404 (Not Found) Failed to load resource: the server responded with a status of 404 (Not Found) Failed to load resource: the server responded with a status of 404 (Not Found) this error only after build what to do ????
@moustafakamal9399
@moustafakamal9399 2 года назад
which versions of angular are like that?
@engineersexploring8543
@engineersexploring8543 Год назад
Once we transfer the files to prod server how do we start the application ?
@ronyjohn376
@ronyjohn376 4 года назад
Please make a tutorial on how to make rest calls from angular app in S3 & Spring Boot in EC2.
@codespace
@codespace 4 года назад
Though you can use a presigned s3 url to directly access s3 from angular. But it is not a good practice to connect s3 with ui/angular. So instead you can expose a rest api from your spring application and call it from angular. And manage the aws authentication in spring itself
@arupgarai2019
@arupgarai2019 4 года назад
I could not found the link to see how deploy in AWS s3
@codespace
@codespace 4 года назад
Check out the link ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-f8IsiK9em1Y.html
@prakashk4878
@prakashk4878 5 лет назад
how to Configure Proxy for API calls in build --prod?
@codespace
@codespace 4 года назад
I hope you are able to resolve it. If not let me know your query in details. Sorry for delayed response
@your_karma
@your_karma 3 года назад
Hey code space , is it possible to change api ip after build done
@codespace
@codespace 3 года назад
You can change it manually before running the server
@camn-bv3vq
@camn-bv3vq 5 лет назад
is there a way to pull .env variables from environemnt.ts file in ANGULAR ?. I'd like something like it: .env: IP = localhost PORT=8000 environemnt.ts: export const environment = { production: false, defaultCompany: "xxx", basepath: IP;//esta IP seria la del archivo .env };
@codespace
@codespace 4 года назад
I hope you are able to resolve it. If not let me know your query in details. Sorry for delayed response
@chandrakantchaturvedi196
@chandrakantchaturvedi196 5 лет назад
can u please suggest for build once deploy many code changes
@chandrakantchaturvedi196
@chandrakantchaturvedi196 5 лет назад
@@codespace can we read system env variable...and then put it over here
@codespace
@codespace 4 года назад
I hope you are able to resolve it. If not let me know your query in details. Sorry for delayed response
@vikashunashikatti7405
@vikashunashikatti7405 10 месяцев назад
Can I get sorce code for this project?
@rounak308
@rounak308 3 года назад
i having some doubt...i m unable to understand why my css is getting changed while production.Please help me.Tell one social media where i can personally contact u
@codespace
@codespace 3 года назад
There is a flag isproductionenabled. Check if any business logic is written to load css. But ideally this shouldn't be the case
@rounak308
@rounak308 3 года назад
@@codespace its my personal project.. Can we talk about it personally regarding this issue
@RAHULPAWAR-jh3mk
@RAHULPAWAR-jh3mk 3 года назад
how to run dist. folder outside the project directory
@codespace
@codespace 3 года назад
by providing the path to the folder like sh /path/to/dist or any other command Also support us by subscribing to my other channel Oyekool- ru-vid.com
@karthik9t0
@karthik9t0 2 года назад
What's ur qualifications sir
@navnathhajare3499
@navnathhajare3499 3 года назад
Not working --env command error -> unknown option '--env'
@billetjuan2804
@billetjuan2804 3 года назад
same here
@RJ-hy4zz
@RJ-hy4zz 4 года назад
How to build application for test environment
@codespace
@codespace 4 года назад
Its mentioned in the video
@gauravtyagi7386
@gauravtyagi7386 3 года назад
bro , you can give live classes also ,or paid classes ?
@codespace
@codespace 3 года назад
Will start from next month
@gauravtyagi7386
@gauravtyagi7386 3 года назад
@@codespace at what timings.?
@gauravtyagi7386
@gauravtyagi7386 3 года назад
Do one thing, give me your number or something private text to confirm timings or platform
@sourabhkumarmahato9681
@sourabhkumarmahato9681 10 месяцев назад
pls remove bg music for next time ..its irritating
@camn-bv3vq
@camn-bv3vq 5 лет назад
is there a way to pull .env variables from environemnt.ts file in ANGULAR ?. I'd like something like it: .env: IP = localhost PORT=8000 environemnt.ts: export const environment = { production: false, defaultCompany: "xxx", basepath: IP;//esta IP seria la del archivo .env };
@codespace
@codespace 4 года назад
Hope you are able to solve it. Sorry for delayed reply
@camn-bv3vq
@camn-bv3vq 5 лет назад
is there a way to pull .env variables from environemnt.ts file in ANGULAR ?. I'd like something like it: .env: IP = localhost PORT=8000 environemnt.ts: export const environment = { production: false, defaultCompany: "xxx", basepath: IP;//esta IP seria la del archivo .env };
@codespace
@codespace 4 года назад
I hope you are able to resolve it. If not let me know your query in details. Sorry for delayed response
@camn-bv3vq
@camn-bv3vq 5 лет назад
is there a way to pull .env variables from environemnt.ts file in ANGULAR ?. I'd like something like it: .env: IP = localhost PORT=8000 environemnt.ts: export const environment = { production: false, defaultCompany: "xxx", basepath: IP;//esta IP seria la del archivo .env };
@codespace
@codespace 4 года назад
Hope you are able to resolve it
@camn-bv3vq
@camn-bv3vq 5 лет назад
is there a way to pull .env variables from environemnt.ts file in ANGULAR ?. I'd like something like it: .env: IP = localhost PORT=8000 environemnt.ts: export const environment = { production: false, defaultCompany: "xxx", basepath: IP;//esta IP seria la del archivo .env };
@codespace
@codespace 4 года назад
I hope its fixed
@camn-bv3vq
@camn-bv3vq 5 лет назад
is there a way to pull .env variables from environemnt.ts file in ANGULAR ?. I'd like something like it: .env: IP = localhost PORT=8000 environemnt.ts: export const environment = { production: false, defaultCompany: "xxx", basepath: IP;//esta IP seria la del archivo .env };
@codespace
@codespace 4 года назад
You can watch the full video. I have explained the whole flow
Далее
Deploying Angular Applications | Mosh
27:07
Просмотров 125 тыс.
Дима сделал мне сюрприз!😭
01:01
Просмотров 766 тыс.
Angular 18 is EXACTLY what we needed
9:15
Просмотров 50 тыс.
WTF is "Zone.js" and is it making your app slow?
13:21
Angular LifeCycle Hooks - Explained with Examples
50:06
😱НОУТБУК СОСЕДКИ😱
0:30
Просмотров 3,3 млн