forked from amitt001/pygmy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serve static file with debug false. Ubunut20.4
- Loading branch information
Showing
5 changed files
with
8 additions
and
3 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:18.04 | ||
FROM ubuntu:20.04 | ||
|
||
LABEL name='pygmy' | ||
LABEL version='1.0.0' | ||
|
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ Hackernews Thread: [https://news.ycombinator.com/item?id=17690559](https://pygy. | |
- [Use SQLite](#use-sqlite) | ||
- [Docker](#docker-1) | ||
- [Using Pygmy API](#using-pygmy-api) | ||
- [Create User:](#create-user) | ||
- [Create User](#create-user) | ||
- [Shell Usage](#shell-usage) | ||
- [Development](#development) | ||
- [Run tests:](#run-tests) | ||
|
@@ -159,7 +159,7 @@ Docker image name: `amit19/pygmy`. Docker image can be built by running `docker | |
|
||
## Using Pygmy API | ||
|
||
### Create User: | ||
### Create User | ||
|
||
curl -XPOST http://127.0.0.1:9119/api/user/1 -H 'Content-Type: application/json' -d '{ | ||
"email": "[email protected]", | ||
|
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
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
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 |
---|---|---|
|
@@ -38,3 +38,4 @@ urllib3==1.26.10 | |
Werkzeug==2.1.2 | ||
yarl==1.7.2 | ||
zipp==3.8.0 | ||
django-cors-headers==3.13.0 |