aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-02-13 13:14:27 +0100
committerneodarz <neodarz@neodarz.net>2017-02-13 13:14:27 +0100
commit47f6e0792b6e4769fb11072e40271ba7e78a9c29 (patch)
tree9b6695fa110dd807d017d1b188a60375648c91cd
parenta4b7a056b9f28c68627dec44f7faf6a1defa5b20 (diff)
downloadthe_transcriber_backend-47f6e0792b6e4769fb11072e40271ba7e78a9c29.tar.xz
the_transcriber_backend-47f6e0792b6e4769fb11072e40271ba7e78a9c29.zip
Two little scripts to go faster
-rwxr-xr-xinstall.sh3
-rwxr-xr-xreinstall.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..bbf04ae
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+mix ecto.migrate
+mix run priv/repo/seeds.exs
diff --git a/reinstall.sh b/reinstall.sh
new file mode 100755
index 0000000..8d9d107
--- /dev/null
+++ b/reinstall.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+mix phoenix.gen.html AudioFile audio_file audio_path:string audio_name:string audio_duration:string
+./install.sh