Apologies in advance - I’m obviously missing something simple considering this is somewhat clearly described by @laura in deploying multiple repositories for a single site, but I am having difficulty and am confused by the Step #1 Instruction in the link above, and have been troubleshooting it for days.
- I have my static website repo (https://suspicious-villani-7f8462.netlify.app/) up and running at tucsonpathways.org
- I want my separate web-app (https://frosty-heisenberg-cf3b94.netlify.app/) accessible at Tucson Pathways | Safer Bike Commuting (not yet working)
As described in the instructions at deploying multiple repositories for a single site
(Something Is done wrong in the below steps)
Thursfar I have:
- Deployed the web-app map as a subdirectory of the published site. So if I understand correctly, based on the above instructions and another forum post - I setup my deploy settings for my web-app as seen below.
- In the web-app repository on github - I need to move all the contents of the vue app into a /map/ folder using relative path names through the HTML/CSS/Javascript so that I don’t screw up how the web-app operates inside this subfolder.
- Add a proxy redirect to my static website repository by creating a
_redirects
file in the folder which contains
#this redirect doesn't seem to work, but I think I wrote this correctly
/map/* https://frosty-heisenberg-cf3b94.netlify.app/map/:splat 200!
#I also added dummy-tester redirects to make sure I'm doing this correctly, these both work
*/testing_mapbox https://www.mapbox.com
*/testing_yahoo https://yahoo.com
- Deploy the web-app and test that it work: https://frosty-heisenberg-cf3b94.netlify.app/
- Test the static website redirect works at Tucson Pathways | Safer Bike Commuting which does not work =(
I’ve tried playing with the following to no luck:
- Setting my deploy settings web-map
Base Directory
asmap
- Setting my deploy settings web-map
Publish Directory
asmap/dist/
- Setting my deploy settings web-map
Publish Directory
asdist/map/
- Setting my deploy settings web-map
Publish Directory
as/dist/
- Moving my web-map github repo into a
map
subfolder - Moving my web-map github repo into its normal root folder
What am I missing?