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
This commit is contained in:
@@ -10,15 +10,6 @@ echo "\nInstalling JS..."
|
||||
cd assets && yarn install
|
||||
cd ..
|
||||
|
||||
# Wait for Postgres to become available.
|
||||
export PGPASSWORD=$(echo $POSTGRES_PASSWORD)
|
||||
until psql -h postgres -U $POSTGRES_USER -c '\q' 2>/dev/null; do
|
||||
echo >&2 "Postgres is unavailable - sleeping"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "\nPostgres is available: continuing with database setup..."
|
||||
|
||||
# Potentially Set up the database
|
||||
mix ecto.create
|
||||
mix ecto.migrate
|
||||
|
||||
Reference in New Issue
Block a user