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

fix: Fixed non-docker running of the Flask server #30

Merged
merged 9 commits into from
Dec 12, 2020
Merged

Conversation

frgfm
Copy link
Member

@frgfm frgfm commented Dec 11, 2020

In #29, the need to have env variables was introduced. This PR introduces the following features:

  • fixes env variables loading when not using Docker
  • improves existing CI workflows

Any feedback is welcome!

@frgfm frgfm added type: bug Something isn't working topic: build Related to build, installation & CI labels Dec 11, 2020
@frgfm frgfm added this to the 0.1.1 milestone Dec 11, 2020
@frgfm frgfm self-assigned this Dec 11, 2020
Copy link
Collaborator

@pechouc pechouc left a comment

Choose a reason for hiding this comment

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

Thanks a lot @frgfm! I am not an expert at all and I don't really have enough time to dig deeper but I fully trust your input 😄

I just have a small question about requirements that are displayed as erased in the requirements.txt and which we are using for the web-app. Sorry if I have missed something obvious about this!

@@ -2,11 +2,9 @@ wheel>=0.29
pandas>=0.24.2
numpy>=1.18.4
dash>=1.16.2
dash-core-components>=1.12.1
dash-html-components>=1.1.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not sure to understand why we are erasing these requirements here?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is quite optional, it's more cosmetics than anything else: they are direct dependencies of dash so installing dash installs these :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh ok, I thought I had to install them separately when I first installed dash, nice catch!

@frgfm frgfm merged commit d249878 into master Dec 12, 2020
@frgfm frgfm deleted the server-run branch December 12, 2020 11:46
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: build Related to build, installation & CI type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants