been working on this project for about 10 months now, client had made the project a few months even before that.
we share the code between client and myself via client’s self-hosted GIT repository. we started using GIT about 3 months ago only before that we were just using a shared OneDrive folder to share the code to work async!
have added a lot of pages over the months - all works good on the browser, no issues.
but on the Wappler side we have a couple issues:
1
this is the route list that the client sees - these were added by the client themselves.
had to blur - coz sensitive - but the huge distinction in list size itself will give an idea of the problem!!!
i confirm this is the very same GIT repository.
2
there is a lot of weird duplication on .htaccess - since everything works as expected on the browser - it’s not a critical problem - but good to have a clean .htaccess file!
not sure when exactly this routes thingy broke for us! have been seeing this for a couple months now at least - hadn’t just raised the issue earlier!
it’d be great to fix this bug for good on Wappler level.
if that is not the issue - pls guide how we can fix it up for our setup.
Routes are loaded in the routing panel UI by reading the routes.json file not by reading the htaccess directly.
So you will need the routes.jaon file created on the other computer to be able to see the same routes. This file is located in the hidden . wappler folder in your project root
yeah, i did check on that.
.wappler folder is hidden and also added to .gitignore. hence it doesn’t sync up over GIT for us.
did a copy of the JSON from client’s routes.json to my machine - but that did not work. still seeing the 4 items only on my machine!
is there another flag/setting elsewhere?
The .wappler folder contains info like the targets you’ve setup for your project, connections etc.
If you are working with private repositories you should indeed commit the .wappler folder as well. Especially if you are working on multiple computers / in a team.
Hi @Teodor,
this is the way I‘m doing it (commit .wappler).
I now found a problem doing this.
I have 2 Macs I‘m working with. My problem is that the working directory (local folder) is different on both Macs. On commit it always overwrites the correct working directory.
Is there a workaround for this?