This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-06-19 16:19:20 +00:00
|
|
|
#!/bin/bash -x
|
2020-06-24 20:46:20 +00:00
|
|
|
# Setup docker & compose
|
|
|
|
curl -fsSL https://get.docker.com | bash
|
|
|
|
sudo usermod -a -G docker ubuntu
|
|
|
|
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
|
|
|
sudo chmod +x /usr/local/bin/docker-compose
|
2020-06-21 11:18:06 +00:00
|
|
|
# Setup nodejs
|
|
|
|
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
|
|
|
|
sudo apt-get install -y nodejs
|
|
|
|
sudo npm install -g yarn
|
2020-06-24 20:46:20 +00:00
|
|
|
# Setup python
|
2020-11-15 14:49:02 +00:00
|
|
|
sudo apt install -y python3.9 python3-pip libxmlsec1-dev pkg-config
|
2020-06-21 11:18:06 +00:00
|
|
|
# Setup docker
|
2020-06-19 16:19:20 +00:00
|
|
|
sudo pip3 install pipenv
|
|
|
|
|
|
|
|
cd e2e
|
|
|
|
sudo docker-compose up -d
|
|
|
|
cd ..
|
|
|
|
pipenv sync --dev
|
|
|
|
pipenv shell
|