mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
19 lines
302 B
Bash
19 lines
302 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Install Hex and Phoenix
|
|
mix local.hex --force
|
|
mix local.rebar --force
|
|
mix archive.install hex phx_new 1.4.3 --force
|
|
|
|
# Enter app dir
|
|
cd $1
|
|
|
|
# Install dependencies
|
|
mix deps.get
|
|
mix deps.compile
|
|
|
|
# Set up database
|
|
mix ecto.setup --force
|
|
|
|
# Install modules
|
|
(cd assets; npm install)
|