Skip to content

Commit

Permalink
hidden files
Browse files Browse the repository at this point in the history
  • Loading branch information
samwachspress committed Mar 22, 2021
1 parent cd89173 commit 21ce48d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export FLASK_APP=main:app
export GAE_VERSION=development-`cat .travis.yml | grep 'VERSION_NUM=' | cut -f 2 -d '='`
export CLOUD_CONFIG=1
export GOOGLE_APPLICATION_CREDENTIALS=env_config/client-secret.json
export PYTHONPATH=$(pwd)
export WERKZEUG_DEBUG_PIN=off
Expand Down
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ target/
#Random
*.DS_Store

*.json
package-lock.json

tmp/

Expand Down Expand Up @@ -92,4 +92,6 @@ photos/*
*.done

# Heritability run go tool
invoke
invoke

.vscode/launch.json
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
language: bash

install:
- openssl aes-256-cbc -K $encrypted_53077b9a3e95_key -iv $encrypted_53077b9a3e95_iv -in env_config.zip.enc -out env_config.zip -d
- openssl aes-256-cbc -K $encrypted_86f5a1ab1ccf_key -iv $encrypted_86f5a1ab1ccf_iv -in env_config.zip.enc -out env_config.zip -d
- unzip -qo env_config.zip
- export VERSION_NUM=1-5-3
- export VERSION_NUM=1-5-57
- export APP_CONFIG=master
- export CLOUD_CONFIG=1
- if [ "${TRAVIS_BRANCH}" != "master" ]; then export APP_CONFIG=development; fi;
- export GAE_VERSION=${APP_CONFIG}-${VERSION_NUM}
- export GOOGLE_APPLICATION_CREDENTIALS=env_config/client-secret.json

deploy:
provider: gae
version: "${GAE_VERSION}"
project: andersen-lab
project: andersen-lab-302418
keyfile: env_config/client-secret.json
on:
all_branches: true
Expand Down

0 comments on commit 21ce48d

Please sign in to comment.