Angular - create & deploy the project on MDB GO
How to deploy & host Angular app - tutorial & free hosting
This guide will take you step by step on how to create your project and deploy using MDB CLI.
Initialize and publish React project
In order to initialize project we will use Create React App, for more option check React documentation
ng new my-angular-app cd my-angular-app npm start
ngtool will ask you following questions:
- Do you want to enforce stricter type checking and stricter bundle budgets in the workspace?
- Would you like to add Angular routing?
- Which stylesheet format would you like to use?
Now it's time to build your App. Once you are done we can move to deployment.
Once you finish building your project, use the following command do deploy it:
$ mdb frontend publish
frontend is a
default value for
publish command, you can run
mdb publish (instead of
mdb frontend publish )
If you are publishing for the first time, CLI will ask you whether you want to use npm or yarn.
Once you successfully publish your project they will be stored for a future.
Once project is deployed you will see following message in a console:
Success Project built successfully Sent 1.011 Mb Your application is available at https://my-angular-app.mdbgo.io