This project is a morse code translator developed using python
with Flask-SocketIO
.
Item | Type | Description |
---|---|---|
app |
directory | contains only application files |
tests |
directory | contains only test files |
docs |
directory | contains only docs files |
.flake8 |
file | flake8 coding style definitions |
env.template |
file | sample of env vars |
run.py |
file | the application`s entrypoint |
Directory | Description |
---|---|
common |
common libraries like log.py |
controllers |
main path of controllers, like morse.py |
handlers |
handlers functions used by sockets |
static |
path to javascript and css files used by html |
templates |
main path of html files to be rendered |
Installing local dependencies
make local/install
Setting local environment
make local/shell
Running local tests
make local/test
Running local lint
make local/lint
Building docker image
make docker/build
Executing application
make docker/up
Stoping application
make docker/down
Execute the following commands:
make docker/build
make docker/up
After this you can access the translator on: http://localhost:5001/
Use one blank space to separate letters and two blank spaces to separate words. For example:
--- .-.. .- -- ..- -. -.. ---