Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
waldorf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
waldorf
Commits
1491bba8
Commit
1491bba8
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Convert README to rst.
It's a Python project after all.
parent
9517aeb5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+56
-0
56 additions, 0 deletions
README.rst
with
56 additions
and
0 deletions
README.
md
→
README.
rst
+
56
−
0
View file @
1491bba8
# Waldorf
Waldorf
=======
A Flask and Celery demo app.
A Flask and Celery demo app.
## Requirements
Requirements
------------
- Docker
- Docker
- Docker Compose
- Docker Compose
## Usage
Usage
-----
Start the application and rebuild if necessary:
Start the application and rebuild if necessary:
```
::
docker-compose up --build
docker-compose up --build
```
Stop the application:
Stop the application:
```
::
docker-compose down
docker-compose down
```
Stop the application and delete volumes (starting from scratch):
Stop the application and delete volumes (starting from scratch):
```
::
docker-compose down -v
docker-compose down -v
```
Start a Python interperter inside the Flask web server container:
Start a Python interperter inside the Flask web server container:
```
::
docker-compose exec server python
docker-compose exec server python
```
Post a message to the Flask web server for the Celery worker to output:
Post a message to the Flask web server for the Celery worker to output:
```
::
curl -H "Content-Type: application/json" -X post -d '{"message": "foo"}' http://localhost:8080/log
```
curl -H "Content-Type: application/json" -X post -d '{"message": "foo"}' http://localhost:8080/log
## License
License
-------
This software is licensed under the MIT license (see
`LICENSE.txt`
).
This software is licensed under the MIT license (see
`
`LICENSE.txt`
`
).
## Author Information
Author Information
------------------
Nimrod Adar,
[
contact me
](
mailto:nimrod@shore.co.il
)
or visit my
[
website
](
Nimrod Adar,
`
contact me
<
mailto:nimrod@shore.co.il
>`__
or visit my
https://www.shore.co.il/
)
. Patches are welcome via
[
`git send-email`
](
`website <
https://www.shore.co.il/
>`__
. Patches are welcome via
http://git-scm.com/book/en/v2/Git-Commands-Email
)
. The repository is located
```git send-email`` <
http://git-scm.com/book/en/v2/Git-Commands-Email
>`__.
at:
<
https://www.shore.co.il/git/
>
.
The repository is located
at: https://www.shore.co.il/git/.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment