forked from wagtail/vagrant-wagtail-develop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·37 lines (26 loc) · 802 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env bash
# Fail if any command fails.
set -e
if [ ! -d "bakerydemo" ]; then
git clone https://github.com/wagtail/bakerydemo.git
else
echo Directory bakerydemo already exists, skipping...
fi
if [ ! -d "wagtail" ]; then
git clone https://github.com/wagtail/wagtail.git
else
echo Directory wagtail already exists, skipping...
fi
mkdir -p libs
if [ ! -d "libs/django-modelcluster" ]; then
git clone https://github.com/wagtail/django-modelcluster.git libs/django-modelcluster
else
echo Directory libs/django-modelcluster already exists, skipping...
fi
if [ ! -d "libs/Willow" ]; then
git clone https://github.com/wagtail/Willow.git libs/Willow
else
echo Directory libs/Willow already exists, skipping...
fi
echo Starting a vagrant machine...
vagrant up