Hello,
We created and built (dist folder) an angular application.
The backend of the application (php) is inside the 'api' folder
The 'assets' folder contains images and such
The application to work needs to have all the files all the files inside the 'dist' folder, plus 'api' folder, plus 'assets' folder.
Question:
How do I make it so the repo in bitbucket has all the files (first image), but to the server I only push/pull the ones needed for the application to run (2nd image)?
Hi Laura, nice question. What hinders you to only push the files you want to push to the server?
Hi Ktomk,
The repo in Bitbucket contains all the files, but I don't know how pull only a selective number of files from the server.
If the repo in Bitbucket contains the file structure shown on the the first figure, Is it possible to pull from the server:
a) the entire 'api' folder
b) the entire 'assets' folder (the one at root level)
c) all the files inside the "dist/[project_name]' (index.html, main, pily, runtme, styles) and place them at root level
d) all the files inside the 'dist/[project_name]/assets' and place them inside the 'assets' folder (numeral 'b' above).
How would I do that??
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.