Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9-lighten_and_standalone #12

Merged
merged 4 commits into from
Mar 17, 2024
Merged

9-lighten_and_standalone #12

merged 4 commits into from
Mar 17, 2024

Conversation

alebg
Copy link
Contributor

@alebg alebg commented Mar 16, 2024

Fix #9

But see #13 on the dockerization

- Now this can be executed as a standalone script, not dependant on Lieutenant Planckster anymore
- Uses environment variables to setup: kernel_planckster_gateway, minio_repository (if protocol is s3), and the telegram client
- The telegram client now only asks for the code sent to your phone (if using phone + password authentication)
- Renamed the test minio docker compose file for clarity
- Now installs requirements first before copying the rest of the code, so if you're building many times (e.g., to test), building takes less time
- Renamed workdir to "/app"
@alebg alebg requested a review from maany March 16, 2024 19:15
@alebg alebg force-pushed the 9-lighten_and_standalone branch 2 times, most recently from bd89951 to 4a0eac8 Compare March 16, 2024 19:28
- TODO: the instruction '--net="host"' in the docker run command is not acceptable, we need to find a different solution to have the script connect to the host machine's services when running from within a container
- Naming
- Arguments are now checked before clients and gateways are instantiated
- Updated readme
@maany maany merged commit 1ee9e21 into main Mar 17, 2024
@maany maany deleted the 9-lighten_and_standalone branch March 17, 2024 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lighten dependencies: remove dependency on BaseJob; make the scraper script executable on its own
2 participants