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

Refactor: Replace Pipenv with requirements.txt for dependency management #79

Merged
merged 2 commits into from
Mar 18, 2023

Conversation

bugfloyd
Copy link
Contributor

@bugfloyd bugfloyd commented Mar 18, 2023

  • remove pipenv from Dockerfile
  • update the readme:
    • update prerequisites
    • use venv while installing from source
    • update docker compose command syntax
      * add a note about rebuilding docker images

Resolves #78

- remove pipenv from Dockerfile
- update the readme:
 * update prerequisites
 * use venv while installing from source
 * update docker compose command syntax
 * add a note about rebuilding docker images
README.md Outdated
Comment on lines 136 to 138
**Note:** After updating `.env` file, you have to rebuild the image:
```shell
docker compose up --build
Copy link

@Keonik1 Keonik1 Mar 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not necessary, since the file is mounted when the container is started.

More correctly:
After the change .env file restart docker container:

docker-compose down
docker-compose up

If they have been changed .py files, then you need to rebuild the docker image:

docker-compose down
docker-compose up --build

Copy link
Contributor Author

@bugfloyd bugfloyd Mar 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aaw, I see. I should have checked the compose file more accurately.
Just pushed a fix.

Please note that I kept the new docker compose command syntax standard which came from the built-in compose feature (on the readme).

* update readme
@bugfloyd bugfloyd changed the title remove pipenv & use requirements.txt Refactor: Replace Pipenv with requirements.txt for dependency management Mar 18, 2023
@n3d1117
Copy link
Owner

n3d1117 commented Mar 18, 2023

Thanks @bugfloyd and @Keonik1!

@n3d1117 n3d1117 merged commit 15b1f05 into n3d1117:main Mar 18, 2023
@bugfloyd bugfloyd deleted the fix/deps_management branch March 21, 2023 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.

v0.1.8 doesnt work
3 participants