generated from Connected/Connected.RepositoryTemplate
Compare commits
3 Commits
main
...
features/q
Author | SHA1 | Date |
---|---|---|
Matija Koželj | 690ede08f1 | 2 years ago |
Matija Koželj | 032a1c3112 | 2 years ago |
Matija Koželj | 52af267f6c | 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…
Reference in new issue