Hey everyone, I am trying to figure out whats the ...
# help
u
Hey everyone, I am trying to figure out whats the best way to test my local code changes Currently this is what i did 1. Added a random log in service.go which i want to be printed 2. Did
make build
3. Ran
curl <https://compose.lakefs.io> | docker-compose -f - up
and seeing some logs 4. Ran
./lakectl commit <lakefs://actions-stuff/main> -m "added webhook again 2"
(made sure to do ./lakectl thats built ) 5. But i dont see the log in the step 3. process not sure if i am missing anything
u
Hi Shradheya, Can you explain more about your use case and what you’re trying to achieve? Are you running lakeFS locally or using the docker-compose?
u
i wish to run it locally with my code changes. i realise i may not be doing step 3 correctly
u
To run it locally after make build run
Copy code
./lakefs run
u
is there some documentation on what the postgres setup and initial data and config for
~/.lakefs.yaml
? this is all i could find https://docs.lakefs.io/contributing.html
u
i think
docker-compose up --build -d
seems to be simpler
u
u
If you are looking for a quick start, you can try https://demo.lakefs.io/ which allows you to try lakeFS without installing.
u
let me know if you find it helpful
u
i actually am working on the actions issue and wanted to test my code chamges. For now i have figured it out by doing
docker-compose up --build -d
as replacement for step 3. i just wanted to avoid the hassle of installign postgres etc so all good now 🙂
u
great 😀 let me know if you have additional questions
u
Hi @Shradheya Thakre! I opened an issue to explain how to run a local dev server as part of the contribution guide, I agree that it's missing. I'm really interested to hear about the changes you plan on introducing! is it additional logging? Or other improvements?
u
I have my changes here https://github.com/treeverse/lakeFS/pull/3359 I wasn't able to get my changes to work as expected hence just asked here for logging scenario as an example so that i can understand what step am I doing wrong for local dev run Later I realized it was obviously step 3 which uses a docker image from the url resource and doesn't build from local code