Compare commits

..

3 Commits

Author SHA1 Message Date
Matija Koželj 690ede08f1 Add local nuget docker repository support
2 years ago
Matija Koželj 032a1c3112 Remove redundant pause clause in build.bat
2 years ago
Matija Koželj 52af267f6c Add quickstart setup scripts
2 years ago

@ -0,0 +1,2 @@
#Local NuGet repository
For faster development and debugging, a local nuget repository is recommended. Included here is a docker-compose file along with a .env file for the baget local nuget server. Run "docker-compose up -d" to start the server on port 5555.

@ -0,0 +1,7 @@
ApiKey=defaultAuthenticationToken
Storage__Type=FileSystem
Storage__Path=/var/baget/packages
Database__Type=Sqlite
Database__ConnectionString=Data Source=/var/baget/baget.db
Search__Type=Database

@ -0,0 +1,17 @@
version: "3"
networks:
gitea:
external: false
services:
server:
image: loicsharma/baget
container_name: baget
restart: always
volumes:
- ./baget-data:/var/baget
ports:
- "5555:80"
env_file:
- ./baget.env

@ -0,0 +1,3 @@
call setup_environment.bat
call clone.bat
call build.bat

@ -0,0 +1,22 @@
@echo off
cd Connected.Components/build
call buildProjects.bat
cd ../..
cd Connected/build
call buildProjects.bat
cd ../..
cd Connected.Framework/build
call buildProjects.bat
cd ../..
cd Connected.Framework.ServiceModel/build
call buildProjects.bat
cd ../..
cd Connected.Framework.ServiceModel.Client/build
call buildProjects.bat
cd ../..
cd Connected.Common/build
call buildProjects.bat
cd ../..
cd Connected.Common.Types/build
call buildProjects.bat

@ -0,0 +1,9 @@
@echo off
git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.Components.git
git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.git
git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.Framework.git
git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.Framework.ServiceModel.git
git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.Framework.ServiceModel.Client.git
git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.Common.git
git clone --branch features/nuget_autobuild https://git.tompit.com/Connected/Connected.Common.Types.git

@ -0,0 +1,13 @@
@echo off
set /p LOCAL_NUGET="Enter the path to a folder for the local NuGet repository: "
setx /M LOCAL_NUGET "%LOCAL_NUGET%"
setx LOCAL_NUGET "%LOCAL_NUGET%"
mkdir "%LOCAL_NUGET%"
setx /M LOCAL_NUGET_SERVER "http://localhost:5555/v3/index.json"
setx LOCAL_NUGET_SERVER "http://localhost:5555/v3/index.json"
setx /M LOCAL_NUGET_SERVER_TOKEN "defaultAuthenticationToken"
setx LOCAL_NUGET_SERVER_TOKEN "defaultAuthenticationToken"
Loading…
Cancel
Save