-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Heroku deployment and git repo #1950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
IIRC the code that gets pushed to Heroku is only the prod code. Check with the repo that's created in |
great. and please allow me to ask again, this is critical: are we dealing with 2 different repositories here? thanks. |
It should be run from the root. I don't use Heroku, but if my memory serves me correctly yes, there's a different git repo created for the code that goes to heroku |
Thanks. |
What happens if you give it a name? |
If you want to deploy to heroku, 1) build your project then 2) run the buildcontrol command from your /dist folder:
Make sure that your git remote is set appropriately in your /dist folder. You can check with |
@djpark Before that you need to run yo angular-fullstack:heroku and that's where it's not working. I'm getting the following (and not useful) message : (!) NamedBase constructor is deprecated. See yeoman/generator#882 |
@Awk34 It doesn't work either when you give it a name. |
My solution #1966 |
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Apologies for another newbie question.
I want to deploy to heroku, and i read that it's all based on git repo.
Just as you have your github or bitbucket "remote" (central storage), you define a new one that is heroku. and you are basically pushing your code, instead of to your regular remote, to the newly created heroku remote.
That is all good, but i don't really want all my code to travel to the production server.
I only want the 'dist' folder, the complied, transpiled, minified, etc, to be copied to the server.
How to achieve that?
Do i have to manage another git repo just for deployment?
How do i make sure the 2 repos will not mix and confuse each other?
The text was updated successfully, but these errors were encountered: