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

Executable tutorial submission - Flox #2667

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

bjornthiberg
Copy link
Contributor

Assignment Proposal

Title

Creating and using Flox environment(s) in an existing project.

Names and KTH ID

Deadline

  • Task 3

Category

  • Executable Tutorial

Description

We had a visit during one of the lectures by a Flox developer. Exploring this cool piece of software, we found few if any tutorials on how to use it.

This tutorial goes through the main functionality of Flox. Specifically, how to create a Flox environment for an existing project, add dependencies and search for packages, and create a service. It also goes through how the Flox manifest file works.

The tutorial can be found on KillerCoda here.

The repository for the tutorial can be found here.

Relevance

Flox is relevant to DevOps since it allows the user to create and manageme reproducible, isolated, and portable development environments. This helps with solving the “works on my machine” DevOps problem across different testing, staging and dev environments. Flox provides a platform for managing dependencies, environments, and development tools in a containerized manner. These containerized environments can then be shared, submitted to version control, and be used as part of CI/CD pipelines.

@javierron
Copy link
Collaborator

@bjornthiberg Thanks for the proposal, I'll merge it, but note that it is not allowed to change the description of the task.
If the submission does not meet the original proposal, it will be graded as a repeat.

@javierron javierron merged commit ae90cc4 into KTH:2024 Oct 16, 2024
1 check passed
@bjornthiberg
Copy link
Contributor Author

bjornthiberg commented Oct 16, 2024

@javierron Hey! The two changes in the description where

  1. To more thoroughly explain the contents.
  2. To change this line, which specifically references what the tutorial might include:

"After that, we might include layering multiple environments, services, enviroonment variables, depending on what level of complexity the tutorial ends up having."

But the content, purpose and structure of the tutorial is exactly as we specified in the proposal, so there should be no issue 👍

@bjornthiberg bjornthiberg deleted the executable-tutorial-submission branch October 16, 2024 16:13
@algomaster99
Copy link
Collaborator

@bjornthiberg I am trying to run your tutorial.

I keep getting the following error after adding configuration for vars and services.flask. I tired to debug it on my own, but could not so please help here.
image

@nobnj
Copy link
Contributor

nobnj commented Oct 26, 2024

@algomaster99 I have pushed an update with corrected instructions.

@algomaster99
Copy link
Collaborator

It is fixed now. Thanks!

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.

4 participants