- copy
.devcontaier/example.env
as.devcontaier/.env
and tune your local environment variables if needed - Follow these steps to load the project in VSCode
-
create db and/or run all migrations
$ mix ash_postgres.create $ mix ash_postgres.migrate
-
create a migration
$ mix ash_postgres.generate_migrations --name ${MIGRATION_NAME}
-
in case you need to reset the database - drop it and then recreate it
$ mix ash_postgres.drop $ mix ash_postgres.create
$ iex -S mix