Deploying an Angular 4 App


AVOID this Company!!! – I do not leave negative reviews very often. But this is the worst company and experience I have had in a LONG time! I purchased a domain with the intention of using it as the address for my blog. In the whole year I had it, I was NEVER able to get the customer agents (yes PLURAL) to point it to my blog. I sent them the instructions I found online but I did not have access to make changes to the things that needed changing. Over and over again they sent me to new customer service agents who would start from the beginning. I finally gave up and wrote it off as a loss. But that’s not the end. When the year was up, I got notices that it was time to renew. The email told me they WOULD renew it unless I let them know I didn’t want it. So… I opened a billing ticket saying I didn’t want it. They replied with SOMEONE ELSE’S information – a website and hosting package that is not mine!! I told them that, but they don’t seem to understand English. I advise to AVOID this company! Alicia, London UK


This video is from my Free Angular 4 Course: https://goo.gl/T5fqeB
Written tutorial: https://goo.gl/Rco9fg

http://coursetro.com for more!

– – – – – – – – – – – – – – – – – – – – – –

Subscribe for NEW VIDEOS weekly!

My site: https://coursetro.com
My personal FB account: http://fb.com/logodesigner
Coursetro FB: http://fb.com/coursetro
Coursetro’s Twitter: http://twitter.com/designcoursecom

Join my Discord! https://discord.gg/a27CKAF
^-Chat with me and others

– – – – – – – – – – – – – – – – – – – – – –

Who is Gary Simon? Well, I’m a full stack developer with 2+ decades experience and I teach people how to design and code. I’ve created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network.

Now, I focus all of my time and energy on this channel and my website Coursetro.com.

Come to my discord server or add me on social media and say Hi!

DesignCourse

25 Comments
  • Асхат Багавиев
    Posted at 11:21h, 12 April

    Thank you!

  • Dhananjay Lugade
    Posted at 18:14h, 21 April

    can you make 1 video on Virtual scrolling using chunk in angular 4

  • deepesh dang
    Posted at 08:24h, 01 May

    git init is not working despite of running the command

  • Sapan Kumar Das
    Posted at 16:05h, 01 May

    ngh command is not working.

  • Daniel Alvarado
    Posted at 20:51h, 03 May

    Great Tutorial thank you so much!

  • Lennin Schwarzer
    Posted at 03:27h, 23 May

    index.html could not be copied to 404.html. Continuing without an error.

    someone help please

  • Cainã Brazil
    Posted at 20:01h, 24 May

    what terminal are u using?

  • Nhlanhla Nkosi
    Posted at 20:57h, 07 June

    This was absolutely amazing. Thank you very much.

  • Robert's Take
    Posted at 18:00h, 27 June

    dang i did not know github also lets you host websites thats nice

  • Roland Jethro Suyom
    Posted at 19:08h, 04 July

    Hello guys, ive

  • Roland Jethro Suyom
    Posted at 19:13h, 04 July

    Hello guys!
    I'd got a problem after I typed " git init" in the command line, it says " 'git' is not recognized as an internal or external command,
    operable program or batch file."
    Please help me to solve this problem.
    Thanks in advance.

  • David Revel
    Posted at 20:34h, 07 July

    how to submit changes?

  • sanjiv kumar
    Posted at 18:21h, 31 July

    wen i deploying github then image is not coming

  • a z
    Posted at 13:12h, 01 August

    It's not particularly confusing — the real problem is that almost all the explanations regarding the distribution process of angular apps are mostly written by individuals who are completely incompetent at writing technical documentation and are rarely is ever vetted by anyone else prior to being put onto the web.

  • PRABHAGAR .S
    Posted at 07:35h, 06 August

    hi designCourse can you help me on how to deploy server using filezila

  • Alin MB
    Posted at 05:39h, 09 August

    Hello! Is there a way for deploy my angular app on https? Is there a special command in CLI? I have a SSL on my server from Let's Ecrypt… Thank you so much, i really need for mai app to be in https, because i a have some GPS localisation and google doesn't allowed this feature for non-ssl websites.

  • Argyl Rebanal
    Posted at 07:47h, 14 August

    Hello sir nice tutorial but can you make a tutorial on introduction in BitBucket in Angular Project same as this video. Thank's in advance.

    -Argyl 🙂

  • MUHD HANAFI YAKUB
    Posted at 10:23h, 23 September

    Hi there, im a bit confused…if i commit some changes to my local, do i have to re-run the build command
    "ng build –prod –base-href https://<user-name&gt;.github.io/<repo>/"
    again to see the changes in the ghpages display?

    Thanks

  • Aadhi Nana Murali
    Posted at 17:44h, 01 November

    npx ngh –dir=dist/[PROJECT_FOLDER]. Find the PROJECT_FOLDER in angular.json under the name 'default project'

  • Christian Torres
    Posted at 12:27h, 03 November

    core.js.pre-build-optimizer.js:1673 ERROR Error: Uncaught (in promise): SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///C:/Users/Cristian/Desktop/pagina/proyecto/dist/proyecto/#/' cannot be created in a document with origin 'null' and URL 'file:///C:/Users/Cristian/Desktop/pagina/proyecto/dist/proyecto/index.html'.
    Error: Failed to execute 'replaceState' on 'History': A history state object with URL '

  • Christian Torres
    Posted at 12:28h, 03 November

    HEEEEEEEEEEEEEEEEELP

    core.js.pre-build-optimizer.js:1673 ERROR Error: Uncaught (in promise): SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///C:/Users/Cristian/Desktop/pagina/proyecto/dist/proyecto/#/' cannot be created in a document with origin 'null' and URL 'file:///C:/Users/Cristian/Desktop/pagina/proyecto/dist/proyecto/index.html'.
    Error: Failed to execute 'replaceState' on 'History': A history state object with URL '

  • Vinay Rajput
    Posted at 12:15h, 14 November

    Nice, thanks for sharing, just use following command to deploy project on github.io

    npx ngh –dir=dist/[PROJECTNAME]

  • fitTech buddy
    Posted at 16:06h, 18 November

    Its saying git is not recognized as internal or external command

  • Ivegotwo
    Posted at 22:45h, 05 December

    If you're deploying an Angular 6 App you need to use ngh –dir=dist/[PROJECT] also….if you're dumb like me and used uppercase letters in your username…use lower case when assinging the base-href to build command

  • Holden Causing
    Posted at 07:06h, 07 December

    need help on this:::
    PS C:UsersHolden GrantDocumentsworkpersonal projectsmy-site> nghindex.html could not be copied to 404.html. Continuing without an error.
    (Hint: are you sure that you have setup the –dir parameter correctly?)
    { [Error: ENOENT: no such file or directory, lstat 'C:UsersHolden GrantDocumentsworkpersonal projectsmy-sitedistindex.html']
    errno: -4058,
    code: 'ENOENT',
    syscall: 'lstat',
    path:
    'C:\Users\Holden Grant\Documents\work\personal projects\my-site\dist\index.html' }
    * Successfully published!