mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
19 lines
387 B
Bash
Executable file
19 lines
387 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
echo "\nInstalling Elixir deps..."
|
|
mix deps.get
|
|
|
|
# Install both project-level and assets-level JS dependencies
|
|
echo "\nInstalling JS deps..."
|
|
yarn install && 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
|