mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Move scripts to the root
This commit is contained in:
15
Deploy.txt
Normal file
15
Deploy.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
$> ./up.sh
|
||||
|
||||
$> docker-machine create --driver digitalocean \
|
||||
--digitalocean-image ubuntu-16-04-x64 \
|
||||
--digitalocean-access-token $DO_TOKEN \
|
||||
--digitalocean-region ams2 \
|
||||
--digitalocean-backups true \
|
||||
--digitalocean-size 512mb \
|
||||
podsync
|
||||
|
||||
$> docker-machine env podsync
|
||||
|
||||
$> $env:COMPOSE_CONVERT_WINDOWS_PATHS=0
|
||||
|
||||
$> docker-compose up -d
|
@@ -1,14 +0,0 @@
|
||||
$> ./Up.ps1
|
||||
|
||||
$> docker-machine create --driver digitalocean
|
||||
--digitalocean-accescean-image=ubuntu-16-04-x64
|
||||
--digitalocean-region=ams2
|
||||
--digitalocean-backups=true
|
||||
--digitalocean-size=512mb
|
||||
podsync
|
||||
|
||||
$> docker-machine env podsync
|
||||
|
||||
$> $env:COMPOSE_CONVERT_WINDOWS_PATHS=0
|
||||
|
||||
$> docker-compose up -d
|
@@ -2,7 +2,7 @@
|
||||
|
||||
OUTPUT_DIR=${1:-'bin/Publish'}
|
||||
|
||||
rm -rf $OUTPUT_DIR
|
||||
rm -rf src/Podsync/$OUTPUT_DIR
|
||||
|
||||
dotnet restore
|
||||
dotnet publish --configuration release --output $OUTPUT_DIR
|
Reference in New Issue
Block a user