start the whole stack for local development:
# 🐳 Docker
docker compose up -d
If you want to start apps individually on your local machine, you can use the following predefined scripts to do so (still requires docker for redis and the mock server)
# 🍅 Manual
toto init
# start dev servers
toto drilbur dev # Start the scraping service along with a docker container running the mock server
toto ralts dev # Start the teaser backend along with a docker container running redis
toto smeargle dev # Start the web frontend app
# other handy commands
toto up # docker compose up -d
toto down # docker compose down
toto < service > install
toto < service > test
Add an alias to your ~/.bashrc
or ~/.zshrc
.
You can call this however you want but in the following we will go with toto
since its a bit shorter than tonemato
.
alias toto="sh tonemato.sh"
This is not required but a handy alternative to:
# root
sh tonemato.sh
- The
ralts
service definitely needs theredis
Docker container to work. - The apps currently have a dependency on each other from Frontend to Backend:
- if you start
smeargle
, you will also have to startralts
which also needsdrilbur
if there is no current cache stored in redis.
- if you start
