initial project code commit
This commit is contained in:
11
config/setup/conda/configure.sh
Executable file
11
config/setup/conda/configure.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "cleaning previous environment..."
|
||||
rm -rf .venv
|
||||
|
||||
echo "creating new environment..."
|
||||
conda create --yes --prefix $(pwd)/env python=3.11 pip
|
||||
|
||||
echo "finished"
|
||||
|
||||
|
||||
7
config/setup/conda/environment.txt
Executable file
7
config/setup/conda/environment.txt
Executable file
@@ -0,0 +1,7 @@
|
||||
|
||||
rm -rf .venv
|
||||
|
||||
conda create --yes --prefix \$PWD/.venv/ python=3.11 pip
|
||||
conda activate \$PWD/.venv/
|
||||
|
||||
pip install -r requirements.txt
|
||||
17
config/setup/configure-dev.sh
Executable file
17
config/setup/configure-dev.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
echo "cleaning previous environment..."
|
||||
rm -rf .venv
|
||||
|
||||
echo "creating new environment..."
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
|
||||
echo "install pip..."
|
||||
python3 -m ensurepip --default-pip
|
||||
|
||||
echo "install requirements..."
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
echo "finished"
|
||||
18
config/setup/configure.sh
Executable file
18
config/setup/configure.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "cleaning previous environment..."
|
||||
rm -rf .venv
|
||||
|
||||
echo "creating new environment..."
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
|
||||
echo "install pip..."
|
||||
python3 -m ensurepip --default-pip
|
||||
|
||||
echo "install requirements..."
|
||||
pip install -r requirements.txt
|
||||
|
||||
echo "finished"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user