creativetimofficial/material-dashboard-angular2

Build project with name Demo in heroku

Aissa-Genius opened this issue · 1 comments

Version
2.7.0

Reproduction link
https://demos.creative-tim.com/material-dashboard-pro-angular2/#/dashboard

Operating System
Linux (Heroku)

Device
Desktop

Browser & Version
Chrome

Steps to reproduce
1)fix name of application in package.json : "name": "firstStep",
2) commande for build application : "heroku-postbuild": "ng build --configuration production --aot"
3 fix the path name in server.js /dist/firstStep/index.html .
4 turn commade node server.js to start the application
4) open application in Heroku : Application not found (dist/firstStep/index not existe)

What is expected?
after build application we get new folder with name dist/firstStep/.. (firststep is name fixed in package.json)

What is actually happening?
we get new folder with name dist/demo/..

Solution
change dist/firstStep to dist/demo to find the solution in server.js

Additional comments
i need explain : why i get the name demo for the build folder , can i go to production without any probléme of licence ?

@Aissa-Genius this issue was automatically closed because it did not follow the bellow rules:

IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/material-dashboard-angular2

**If your issue was not created using the app above, it will be closed immediately.**



Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com