-
-
Notifications
You must be signed in to change notification settings - Fork 644
/
packaging.md
37 lines (30 loc) · 876 Bytes
/
packaging.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
id: app_packaging
title: Application packaging
sidebar_label: Application packaging
---
import GithubLink,{ExampleGithubLink} from "@site/src/components/GithubLink"
<ExampleGithubLink to="examples/advanced/hydra_app_example"/>
You can package your Hydra application along with its configuration.
An example <GithubLink to="examples/advanced/hydra_app_example">standalone application</GithubLink> is included in the repo.
Run it with:
```yaml
$ python examples/advanced/hydra_app_example/hydra_app/main.py
dataset:
name: imagenet
path: /datasets/imagenet
```
Install it with:
```text
$ pip install examples/advanced/hydra_app_example
...
Successfully installed hydra-app-0.1
```
Once installed, run the installed app with:
```yaml
$ hydra_app
dataset:
name: imagenet
path: /datasets/imagenet
```
The installed app will use the packaged configuration files.