Eskimo is handling everything related to user account management, including referrals and statistics for them.
These are the crucial/critical operations you will need when developing Eskimo:
- If you need to generate a new Authorization Token & UserID for testing locally:
- run
make print-token-XXX, whereXXXis the role you want for the user.
- run
- If you need to seed your local database, or even a remote one:
- run
make start-seeding - it requires an .env entry:
MASTER_DB_INSTANCE_ADDRESS=admin:[email protected]:3301
- run
make run-eskimo- This runs the actual read service.
- It will feed off of the properties in
./application.yaml - By default, https://localhost/users/r runs the Open API (Swagger) entrypoint.
make run-eskimo-hut- This runs the actual write service.
- It will feed off of the properties in
./application.yaml - By default, https://localhost:1443/users/w runs the Open API (Swagger) entrypoint.
make start-test-environment- This bootstraps a local test environment with Eskimo's dependencies using your
dockeranddocker-composedaemons. - It is a blocking operation, SIGTERM or SIGINT will kill it.
- It will feed off of the properties in
./application.yaml- MessageBroker GUIs
- DB GUIs
- https://github.com/tarantool/awesome-tarantool#gui-clients
- (CLI)
docker exec -t -i mytarantool consolewheremytarantoolis the container name
- This bootstraps a local test environment with Eskimo's dependencies using your
make all- This runs the CI pipeline, locally -- the same pipeline that PR checks run.
- Run it before you commit to save time & not wait for PR check to fail remotely.
make local- This runs the CI pipeline, in a descriptive/debug mode. Run it before you run the "real" one.
make lint- This runs the linters. It is a part of the other pipelines, so you can run this separately to fix lint issues.
make test- This runs all tests.
make benchmark- This runs all benchmarks.