Skip to content

Commit

Permalink
Simple setup for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
fejese committed Jul 29, 2020
1 parent 03ad355 commit 121930a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

set -uex

base_dir=$(realpath "$(dirname "${BASH_SOURCE[0]}")")

cd "${base_dir}"
pip3 install -r requirements.txt

cards_dir="${base_dir}/static/cards/dixit"
tmp_dir=$(mktemp -d)
git clone https://github.com/jminuscula/dixit-online.git "${tmp_dir}"
cp "${tmp_dir}/cards/"*.jpg "$cards_dir/"
rm -rf $tmp_dir

0 comments on commit 121930a

Please sign in to comment.