To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
docker build -t khmer-dictionary .
Run the app:
# don't use this key in production, generate 64 bytes random string
export SECRET_KEY_BASE="/4mSfOc6jCMveCINKAkJmCyWMsIa+xzIKF9zqaePbwNlwkZSuFDqMxhhWYdy77et"
docker run --rm -p 4000:4000 -e SECRET_KEY_BASE=$SECRET_KEY_BASE khmer-dictionary
Piggy back on https://github.com/seanghay/klea-js to deliver text-to-speech. Alright, Microservice 101.
docker-compose up
Service | Port |
---|---|
Text-to-Speech | 3000 |
Dictionary | 4000 |
Visit: http://localhost:4000
- Elixir Phoenix Liveview
- Tailwind CSS
- Dictionary data borrowed from https://khmerdict.com/