#60: Fixed bug with current folder
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
ORG_ID=Shuffle
|
||||
ENVIRONMENT_NAME=Shuffle
|
||||
|
||||
# Different locations etc
|
||||
APP_DOWNLOAD_LOCATION=https://github.com/frikky/shuffle-apps # Remote location to download
|
||||
# Remote github config for first load
|
||||
APP_DOWNLOAD_LOCATION=https://github.com/frikky/shuffle-apps
|
||||
APP_DOWNLOAD_AUTH_USERNAME=""
|
||||
APP_DOWNLOAD_AUTH_PASSWORD=""
|
||||
|
||||
# Local location of your app directory. Can't use ~/ or ./
|
||||
APP_HOTLOAD_LOCATION="shuffle-apps"
|
||||
# Local location of your app directory. Can't use ~/
|
||||
APP_HOTLOAD_LOCATION=./shuffle-apps
|
||||
|
||||
# Other configs
|
||||
BACKEND_HOSTNAME=shuffle-backend
|
||||
|
||||
@@ -5809,7 +5809,6 @@ func createFs(basepath, pathname string) (billy.Filesystem, error) {
|
||||
// Fix the inner path here
|
||||
newpath := strings.ReplaceAll(path, pathname, "")
|
||||
fullpath := fmt.Sprintf("%s%s", basepath, newpath)
|
||||
log.Printf("Fullpath: %s", fullpath)
|
||||
switch mode := info.Mode(); {
|
||||
case mode.IsDir():
|
||||
err = fs.MkdirAll(fullpath, 0644)
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ services:
|
||||
- shuffle
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ${APP_HOTLOAD_LOCATION}=/shuffle-apps # Local
|
||||
- ${APP_HOTLOAD_LOCATION}:/shuffle-apps
|
||||
environment:
|
||||
- ORG_ID=${ORG_ID}
|
||||
- DATASTORE_EMULATOR_HOST=shuffle-database:8000
|
||||
|
||||
Reference in New Issue
Block a user