alphasql icon indicating copy to clipboard operation
alphasql copied to clipboard

How to build/test AlphaSQL?

Open lukas-at-harren opened this issue 2 years ago • 2 comments

Hopefully this is the right place to pose such a question. I was wondering on how I could build AlphaSQL myself as well as run its tests.

Currently my efforts got stuck at building the docker/dev.Dockerfile. Unfortunately those ended up failing for me on a fresh try:

$ docker build -t alphasql-dev -f docker/dev.Dockerfile .
$ docker run -ti --entrypoint /usr/bin/make alphasql-dev build

(I tried both on v1.3.4 and master branch)

I would be happy to follow along and setup myself up to build AlphaSQL (at least on Docker), as well as update the documentation with what I learned to contribute.

lukas-at-harren avatar Feb 28 '22 21:02 lukas-at-harren

Thank you for this issue.

I will add more aggressive cache and automatic snapshot updater (for testing) in https://github.com/Matts966/alphasql/pull/78.

After merging this PR, it will be easier to develop AlphaSQL on GitHub Actions.

Also, documenting these things or about local development will be a good contribution :)

If you have troubles with local development, could you please paste logs? By the way, development on latest macos is difficult and I use macos 15 on GitHub Actions.

Matts966 avatar Mar 27 '22 11:03 Matts966

Sample snapshot https://github.com/Matts966/alphasql/pull/83 @lukas-at-harren

Matts966 avatar Mar 27 '22 16:03 Matts966