Skip to content

pydemic/asis

Repository files navigation

ASIS

Test badge Coverage status

Development using docker

If you are using VSCode and remote-containers extension, you are ready to go. Simply reopen in container.

If not, you can use the .misc/docker/dev/docker-compose.yml file:

docker-compose -f .misc/docker/dev/docker-compose.yml up -d
docker-compose -f .misc/docker/dev/docker-compose.yml exec asis bash

Installing dependencies and preparing database

Use the following command:

mix setup

If you only want to update the dependencies, use:

mix update.deps

Additionally, to seed data, use:

# Seed everything
mix seed

# Seed synchronously (single thread)
mix seed sync

# Seed everything from a module
mix seed geo

# Seed an entity from a module
mix seed geo.world

# Seed multiple entities or modules
mix seed icd_10 geo.city registries

# Seed multiple entities or modules synchronously (single thread)
mix seed sync consolidations geo.country registries.birth_registry

Start the development server

To start the server:

mix start

Restart the development server

To drop the database, seed, and start the server, use:

mix reseed
mix start

Remember to stop the metabase container before performing any operation that drops the database:

docker-compose -f .misc/docker/dev/docker-compose.yml stop metabase

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published