Skip to content

Commit

Permalink
First version
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuoran committed Nov 15, 2023
1 parent cb3d449 commit 752f086
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM python:3.10
FROM python:3.9
RUN apt-get -y update
RUN apt-get -y install git
5 changes: 1 addition & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@
"context": "..",
"dockerfile": "Dockerfile"
},
"postCreateCommand": [
"bash scripts/install_maro.sh",
"pip install -r ./requirements.dev.txt"
]
"postCreateCommand": "bash scripts/install_maro.sh && pip install -r ./requirements.dev.txt"
}
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,17 @@ of user-defined functions for message auto-handling, cluster provision, and job
$Env:PYTHONPATH=PATH-TO-MARO
```

## Use MARO in [VSCode DevContainer](https://code.visualstudio.com/docs/devcontainers/containers)

- Prerequisites
- Install Docker on your local machine.
- Make sure your Docker daemon is running.
- Open MARO folder with VSCode.
- Open command palette by pressing `Ctrl/Cmd` + `Shift` + `P`.
- Type `Dev Containers: Rebuild and Reopen in Container` in the command palette and then prese `Enter` to start building dev container.
- The building process might takes a few minutes. After it is done, you are all set!


## Quick Example

```python
Expand Down
1 change: 1 addition & 0 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Flask_SocketIO>=5.2.0
flloat==0.3.0
geopy>=2.0.0
holidays>=0.10.3
ipython
Jinja2>=2.11.3
kubernetes>=21.7.0
markupsafe==2.0.1
Expand Down

0 comments on commit 752f086

Please sign in to comment.