-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
bootstrap.sh
32 lines (24 loc) · 1.04 KB
/
bootstrap.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
#!/usr/bin/env bash
export DEBIAN_FRONTEND="noninteractive"
sudo apt install lsb-release wget
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
echo "deb [trusted=yes] file:///vagrant/deb ./" > /etc/apt/sources.list.d/local.list
sudo apt update
apt install -y php-cli php-curl php-pear php-intl php-zip composer dpkg-dev devscripts php-apigen-theme-default debhelper gdebi-core
cd /vagrant
debuild -i -us -uc -b
#mkdir -p /vagrant/deb
#mv /*.deb /vagrant/deb
#cd /vagrant/deb
#dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
#echo "deb file:/vagrant/deb ./" > /etc/apt/sources.list.d/local.list
#apt-get update
export DEBCONF_DEBUG="developer"
#apt-get -y --allow-unauthenticated install flexibee-digest
gdebi -n ../flexibee-digest_*_all.deb
cp -f /vagrant/tests/digest.json /etc/flexibee/digest.json
flexibee-daydigest
flexibee-monthdigest
flexibee-weekdigest
flexibee-yeardigest