-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
369b0d4
commit 6712643
Showing
43 changed files
with
126 additions
and
122 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package bootstrap | ||
|
||
import _ "github.com/falling-ts/gower/app/consoles" | ||
import _ "github.com/falling-ts/gower/bootstrap/routes" | ||
import _ "github.com/falling-ts/gower/bootstrap/resources" | ||
import ( | ||
_ "github.com/falling-ts/gower/app/consoles" | ||
_ "github.com/falling-ts/gower/bootstrap/0/routes" | ||
_ "github.com/falling-ts/gower/bootstrap/1/resources" | ||
) |
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,16 @@ | ||
@echo off | ||
|
||
where rclone >nul 2>&1 | ||
if %errorlevel% == 0 ( | ||
echo ---------------- rclone installed ---------------- | ||
) else ( | ||
echo ---------------- rclone installing... ---------------- | ||
go install github.com/rclone/rclone@v1.62.2 | ||
echo ---------------- rclone installed ---------------- | ||
) | ||
|
||
|
||
rclone version | ||
|
||
echo ---------------- please create test and prod ssh server ---------------- | ||
rclone config |
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,15 @@ | ||
#!/bin/bash | ||
|
||
if ! command -v rclone &> /dev/null | ||
then | ||
echo "---------------- rclone installing... ----------------" | ||
go install github.com/rclone/[email protected] | ||
echo "---------------- rclone installed ----------------" | ||
else | ||
echo "---------------- rclone is already installed ----------------" | ||
fi | ||
|
||
rclone version | ||
|
||
echo "---------------- please create test and prod ssh server ----------------" | ||
rclone config |
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
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
|
||
echo "---------------- 清理容器 ----------------" | ||
docker compose down | ||
docker-compose down | ||
|
||
echo "---------------- 启动生产 ----------------" | ||
docker compose up -d --build prod-full | ||
docker-compose up -d --build prod-full | ||
|
||
echo "---------------- 查看容器日志 ----------------" | ||
docker logs -f gower |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
|
||
echo "---------------- 清理容器 ----------------" | ||
docker compose down | ||
docker-compose down | ||
|
||
echo "---------------- 启动测试 ----------------" | ||
docker compose up -d --build test-full | ||
docker-compose up -d --build test-full | ||
|
||
echo "---------------- 查看容器日志 ----------------" | ||
docker logs -f gower |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/bash | ||
|
||
echo "---------------- 清理容器 ----------------" | ||
docker compose down | ||
docker-compose down | ||
|
||
echo "---------------- 启动测试或生产 ----------------" | ||
docker compose up -d --build gower | ||
docker-compose up -d --build gower |
Oops, something went wrong.