-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from Geode-solutions/next
Next
- Loading branch information
Showing
34 changed files
with
208 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
echo "Building back microservice" | ||
$back_path=".\electron-server\back" | ||
$dist_path="$back_path\dist" | ||
$venv_path="$back_path\venv" | ||
. "$venv_path\Scripts\activate" | ||
$site_packages_path="$venv_path\Lib\site-packages" | ||
pip install pyinstaller | ||
pyinstaller --onefile --collect-data opengeodeweb_back --collect-data vease_back "$site_packages_path\vease_back\app.py" --distpath $dist_path -n vease-back --clean | ||
Copy-Item $dist_path\vease-back.exe .\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
back_path=./electron-server/back | ||
dist_path=$back_path/dist | ||
venv_path=$back_path/venv | ||
source $venv_path/bin/activate | ||
site_packages_path=$venv_path/lib/python3.10/site-packages | ||
pip install pyinstaller | ||
pyinstaller --onefile --collect-data opengeodeweb_back $site_packages_path/vease_back/app.py --distpath $dist_path -n vease-back --clean | ||
cp $dist_path/vease-back ./ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
$microservice_name=$args[0] | ||
echo "Compiling $args requirements" | ||
$microservice_path=".\electron-server\$microservice_name" | ||
$venv_path="$microservice_path\venv" | ||
python -m venv $venv_path | ||
Remove-Item -Recurse -Force "$microservice_path\requirements.txt" -ErrorAction:SilentlyContinue | ||
. "$venv_path\Scripts\activate" | ||
pip install pip-tools | ||
pip-compile "$microservice_path\requirements.in" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
set -e | ||
microservice_name=$1 | ||
echo "Compiling $microservice_name requirements" | ||
microservice_path="./electron-server/$microservice_name" | ||
venv_path=$microservice_path/venv | ||
python3 -m venv $venv_path | ||
rm -rf $microservice_path/requirements.txt | ||
source $venv_path/bin/activate | ||
pip install pip-tools | ||
pip-compile $microservice_path/requirements.in |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$microservice_name=$args[0] | ||
echo "Installing $args requirements" | ||
$microservice_path=".\electron-server\$microservice_name" | ||
$venv_path="$microservice_path\venv" | ||
echo "Installing in $venv_path" | ||
Remove-Item -Recurse -Force $venv_path -ErrorAction:SilentlyContinue | ||
Remove-Item -Recurse -Force "$microservice_path\dist\" -ErrorAction:SilentlyContinue | ||
Remove-Item -Recurse -Force "$microservice_path\build\" -ErrorAction:SilentlyContinue | ||
python -m venv $venv_path | ||
. "$venv_path\Scripts\activate" | ||
pip install -r "$microservice_path\requirements.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -e | ||
microservice_name=$1 | ||
echo "Installing $microservice_name requirements" | ||
microservice_path="./electron-server/$microservice_name" | ||
venv_path=$microservice_path/venv | ||
rm -rf $venv_path $microservice_path/dist $microservice_path/build | ||
python3 -m venv $venv_path | ||
source $venv_path/bin/activate | ||
pip install -r $microservice_path/requirements.txt |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.