OpenSees Cloud
OpenSees AMI
OpenSees GitHub
Install OpenSeesPy on Ubuntu EC2 Instance
ssh -A -i keypair.pem ....
sudo apt update
sudo apt install libblas-dev python3-pip python3-venv
python3 -m venv ~/venv
~/venv/bin/python3 -m pip install openseespy
Cmake instructions
cd OpenSees
rm -rf build
mkdir build
cd build
conan install .. --build missing
cmake ..
cmake --build . --target OpenSees -j 4
cmake --build . --target OpenSeesPy -j 4
mv lib/OpenSeesPy.so ../SRC/interpreter/opensees.so
Git things
Remove a branch from the server
git branch -D branchname
git push origin :branchname # or delete at github.com after PR is merged
git remote prune origin
Copy file from branch A to branch B
git checkout branchB
git checkout branchA filename
git commit -m "Adding filename to branchB"
Force local master to be the same as upstream/master
git checkout master
git reset --hard upstream/master
git push origin master --force
Release new version of BennyCloth
Bump version in pyproject.toml
[project]
name = "bennycloth"
version = "0.0.22"
Commit toml file
git add pyproject.toml
git commit -m "Release 0.0.22"
git push
Tag and push
git tag v0.0.22
git push origin v0.0.22
Update moving tag for setup-openseespy
Tag current version
git tag v1.0.2
git push origin v1.0.2
Update moving tag
git tag -f v1
git push origin v1 --force
Create a new GitHub Release for v1.0.2 in the Releases tab.