pinchflat/docker-run.sh
Kieran b81c8d64b3 Switch to sqlite (#22)
* Updated project to use sqlite

* Edited migrations directly because I fear no man

* Updated search functions and tests to work with sqlite

* Updated build tools to remove postgres
2024-02-16 17:11:41 -08:00

19 lines
325 B
Bash
Executable file

#!/bin/sh
set -e
# Ensure the app's deps are installed
mix deps.get
# Install JS deps
echo "\nInstalling JS..."
cd assets && yarn install
cd ..
# Potentially Set up the database
mix ecto.create
mix ecto.migrate
# Start the phoenix web server (interactive)
echo "\n Launching Phoenix web server..."
iex -S mix phx.server