Skip to content

Commit

Permalink
Fix line 32, add more Hypothesis lines
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Jun 3, 2024
1 parent f244ac4 commit d28a040
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions staging-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ sudo apt-get update
sudo apt-get install -yq docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo service docker start
sudo docker run hello-world
echo Docker installed successfully.

# edit.tosdr.org
git clone https://github.com/tosdr/edit.tosdr.org.git
Expand All @@ -22,15 +21,22 @@ docker network create elasticsearch
docker network create dbs
docker compose up -d
docker exec -it edittosdrorg-web-1 rails db:seed
docker compose down
cd ..

# pyenv
apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
curl https://pyenv.run | bash
echo -e 'export PYENV_ROOT="$HOME/.pyenv"\nexport PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'eval "$(pyenv init --path)"\neval "$(pyenv init -)"' >> ~/.bashrc
source ~!/.bashrc
source ~/.bashrc

# Hypothesis
git clone https://github.com/tosdr/h
cd h
echo Note this will take several minutes...
pyenv install 3.8.12
pyenv init
pyenv shell 3.8.12
make services
make dev

0 comments on commit d28a040

Please sign in to comment.