mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +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)
|