Skip to content
Snippets Groups Projects
Verified Commit fd3a8230 authored by Dominic Klinger's avatar Dominic Klinger
Browse files

Setup basic project structure

parents
Branches
No related tags found
No related merge requests found
REDO_VERSION=0.2.1 bash utils/get-redo.sh \
&& python3 -m pip install --user pipx \
&& python3 -m pipx ensurepath
code-server --install-extension ckolkman.vscode-postgres
\ No newline at end of file
redo-always
DATABASES_DIR=$(realpath "$(pwd)/../../dbs")
mkdir -p $DATABASES_DIR
cd $DATABASES_DIR
if cd angproj 2> /dev/null
then git pull >&2
else git clone https://gitlab.ost.ch/db/angproj.git
fi
CHECKER_GITLAB_PROJECT_ID=3718 # ID of https://gitlab.ost.ch/db/dbs1/submission-checker
pipx install --force --pip-args='--no-input' --index-url "https://gitlab.ost.ch/api/v4/projects/${CHECKER_GITLAB_PROJECT_ID}/packages/pypi/simple" 'dbs1-submission-checker ~= 0.1.0' >&2
#/usr/bin/env bash
set -euxo pipefail
REDO_VERSION="v${REDO_VERSION}"
REDO_PACKAGE="redo_${REDO_VERSION}_linux_x86-64"
wget "https://github.com/zombiezen/redo-rs/releases/download/${REDO_VERSION}/${REDO_PACKAGE}.zip"
unzip "${REDO_PACKAGE}.zip"
mv "${REDO_PACKAGE}"/bin/* ~/.local/bin/
rm "${REDO_PACKAGE}"{/,.zip} -r
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment