mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-15 23:52:41 +00:00
misc
This commit is contained in:
parent
e9aab05ce9
commit
bf8cab6440
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -42,11 +42,13 @@ npm-debug.log
|
|||
/data/
|
||||
/db/
|
||||
.env
|
||||
/.env
|
||||
.secrets
|
||||
config/dev
|
||||
config/prod
|
||||
flavours/*/config/dev/
|
||||
flavours/*/config/prod/
|
||||
flavours/*/config/dev
|
||||
flavours/*/config/prod
|
||||
flavours/*/config/test
|
||||
/config
|
||||
priv/seed_data
|
||||
assets/static/data
|
||||
|
|
|
@ -55,3 +55,4 @@ bonfire_editor_quill = "https://github.com/bonfire-networks/bonfire_editor_quill
|
|||
|
||||
# bonfire_open_id = "https://github.com/bonfire-networks/bonfire_open_id#main"
|
||||
# boruta = "https://gitlab.com/patatoid/boruta_auth#master"
|
||||
furlex = "https://github.com/bonfire-networks/furlex#main"
|
||||
|
|
2
justfile
2
justfile
|
@ -60,6 +60,7 @@ pre-setup flavour='classic':
|
|||
@mkdir -p ./config/test
|
||||
@touch ./config/deps.path
|
||||
@test -f ./config/$MIX_ENV/.env || ((test -f ./config/$MIX_ENV/public.env && (cat ./config/$MIX_ENV/public.env ./config/$MIX_ENV/secrets.env > ./config/$MIX_ENV/.env) && rm ./config/$MIX_ENV/public.env && rm ./config/$MIX_ENV/secrets.env) || (cat ./config/templates/public.env ./config/templates/not_secret.env > ./config/$MIX_ENV/.env) && echo "MIX_ENV=$MIX_ENV" >> ./config/$MIX_ENV/.env)
|
||||
@ln -sf ./config/dev/ ./config/test/
|
||||
@rm .env | true
|
||||
@ln -sf ./config/$MIX_ENV/.env ./.env
|
||||
@mkdir -p forks/
|
||||
|
@ -84,7 +85,6 @@ flavour select_flavour:
|
|||
|
||||
pre-init:
|
||||
@echo "Running $MIX_ENV env, with flavour: $FLAVOUR at path: $FLAVOUR_PATH"
|
||||
@ln -sf ./config/$MIX_ENV/.env ./.env
|
||||
@rm -rf ./priv/repo
|
||||
@cp -rn $FLAVOUR_PATH/repo ./priv/repo
|
||||
@rm -rf ./data/current_flavour
|
||||
|
|
Loading…
Reference in a new issue