-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The docs say a script called pulp-content is there to help run the aiohttp server locally. This allows the content app to be run in a simple way, similar to runserver from Django. https://pulp.plan.io/issues/4218 closes #4218
- Loading branch information
Brian Bouterse
committed
Jan 21, 2019
1 parent
2debcbf
commit 9c36548
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env python | ||
|
||
import aiohttp | ||
|
||
from pulpcore.content import server | ||
|
||
|
||
aiohttp.web.run_app(server()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,5 @@ | |
'pulp-manager=pulpcore.app.entry_points:pulp_manager_entry_point' | ||
] | ||
}, | ||
scripts=['bin/pulp-content'], | ||
) |