mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 09:16:25 +01:00
Update make.sh for v1.5.1
This commit is contained in:
parent
93c8078bdb
commit
6ad1192cec
6
make.sh
6
make.sh
@ -7,11 +7,11 @@ init () {
|
||||
mkdir -p "$INSTANCE_PATH/partitions"
|
||||
mkdir -p "$INSTANCE_PATH/attachments"
|
||||
mkdir -p "$INSTANCE_PATH/search-partitions"
|
||||
mkdir -p "partitioncloud/static/thumbnails"
|
||||
mkdir -p "partitioncloud/static/search-thumbnails"
|
||||
mkdir -p "$INSTANCE_PATH/cache/thumbnails"
|
||||
mkdir -p "$INSTANCE_PATH/cache/search-thumbnails"
|
||||
|
||||
if ! test -f "$INSTANCE_PATH/config.py"; then
|
||||
echo "SECRET_KEY=$(python3 -c 'import secrets; print(secrets.token_hex())')" > "$INSTANCE_PATH/config.py"
|
||||
echo "SECRET_KEY=\"$(python3 -c 'import secrets; print(secrets.token_hex())')\"" > "$INSTANCE_PATH/config.py"
|
||||
fi
|
||||
|
||||
if test -f "$INSTANCE_PATH/partitioncloud.sqlite"; then
|
||||
|
Loading…
Reference in New Issue
Block a user