Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
b875138
settings fixed 2
ddelpiano Dec 21, 2019
6592a4d
re-aligned branches to use the CI geppetto-scidash
ddelpiano Dec 21, 2019
9695bfc
fixed copy.sh retrieval
ddelpiano Dec 21, 2019
ea2c521
fixed issue with geppetto-scidash CI branch
ddelpiano Dec 21, 2019
95eaf4f
removed defaultBranch for virgo CI, typo done earlier
ddelpiano Dec 21, 2019
e5ccdcc
removed defaultBranch for virgo CI, typo done earlier 2
ddelpiano Dec 21, 2019
b8be96c
fixed path scidash repo cloned
ddelpiano Dec 21, 2019
34fd5ca
permission fix
ddelpiano Dec 22, 2019
d44afee
Merge pull request #138 from MetaCell/feature/393
ddelpiano Jan 2, 2020
5edde4b
Merge pull request #135 from MetaCell/feature/393
ddelpiano Jan 3, 2020
aee5a91
Merge pull request #142 from MetaCell/dependabot/pip/django-1.11.23
ddelpiano Jan 6, 2020
ff6a812
Merge pull request #143 from MetaCell/development
ddelpiano Jan 6, 2020
4d23a55
Merge branch 'development' into feature/381
zsinnema Jan 7, 2020
4bdf399
debug to true, testing new django version
ddelpiano Jan 7, 2020
409294c
Merge pull request #136 from MetaCell/feature/381
ddelpiano Jan 7, 2020
f4b320b
Merge pull request #137 from MetaCell/feature/403
ddelpiano Jan 7, 2020
93c90e9
Merge pull request #144 from MetaCell/development
ddelpiano Jan 7, 2020
1000f26
Merge pull request #145 from MetaCell/feature/402
ddelpiano Jan 7, 2020
4d31d0f
Merge branch 'geppetto-scidash' into development
ddelpiano Jan 7, 2020
a98c432
fake commit for tesing failing travis integration testing
zsinnema Jan 11, 2020
cc3e3bb
chore: revert breaking test
zsinnema Jan 11, 2020
8d57045
fix: docker file scidash set git email/name
zsinnema Jan 12, 2020
a51be8c
Merge branch 'master' into feature/412
zsinnema Jan 12, 2020
2925bf6
feat: add master and development badge to readme.md
zsinnema Jan 12, 2020
c5bd8ed
Merge branch 'feature/412' of github.com:MetaCell/scidash into featur…
zsinnema Jan 12, 2020
047369d
chore: removed copy.sh from docker folder sinces it's not part of thi…
zsinnema Jan 13, 2020
92dbeb2
Re-arranging templates order, to get rid off jquery reference errors
jrmartin Jan 14, 2020
21c5807
add jquery script to base-template, needed to get rid of ReferenceError
jrmartin Jan 14, 2020
80febd7
fix: requirements.txt put django to 1.11.23, pygeppetto-django was us…
zsinnema Jan 15, 2020
b50517e
Merge pull request #147 from MetaCell/feature/412
ddelpiano Jan 16, 2020
aa3220f
fix: passing env args to install-frontend during creation of docker i…
zsinnema Jan 16, 2020
b2919d8
Merge remote-tracking branch 'origin/development' into feature/418
jrmartin Jan 17, 2020
b1a24cf
fix: send simulator results back to scidash django server
zsinnema Jan 17, 2020
4f464bb
Merge remote-tracking branch 'origin/feature/445' into feature/418
jrmartin Jan 17, 2020
b0b2792
fix: cp scidash simulator app-config.xml to src dir
zsinnema Jan 18, 2020
03e0e29
fix: added shared volume to docker compose for exchanging files betwe…
zsinnema Jan 18, 2020
546d6f2
fix: add filedownload controller to app config
zsinnema Jan 19, 2020
6f72844
-
zsinnema Jan 19, 2020
f3571ad
Merge pull request #150 from MetaCell/feature/445
ddelpiano Jan 19, 2020
7928612
Merge pull request #149 from MetaCell/feature/405
ddelpiano Jan 19, 2020
c55c28c
Use local jquery instead of outside url
jrmartin Jan 19, 2020
a9975a5
modified makefile dev step to expose to all ips, settings removed loc…
ddelpiano Jan 20, 2020
67001cd
Merge pull request #149 from MetaCell/feature/405
ddelpiano Jan 20, 2020
854c7f3
shared volume configuration for k8s
ddelpiano Jan 21, 2020
522a481
Merge pull request #153 from MetaCell/feature/nfs_shared_volume
ddelpiano Jan 21, 2020
9233dd5
fix image name to pull
ddelpiano Jan 21, 2020
fdb717c
Merge pull request #155 from MetaCell/feature/nfs_shared_volume
ddelpiano Jan 21, 2020
d32442f
feat: add coverage badge to README.md and update README.md with instr…
zsinnema Jan 22, 2020
28b7fbe
Merge remote-tracking branch 'origin/development' into feature/418
jrmartin Jan 22, 2020
0f215ed
feat: add sentry
zsinnema Jan 25, 2020
ba19de6
Modify dockerfile-scidash to use feature/418 branch for scidash and
jrmartin Jan 27, 2020
d0767d2
use branch with puppeeteer/jest
jrmartin Jan 27, 2020
e4eb482
clone puppetteer ready branch
jrmartin Jan 27, 2020
409603f
binding python env to 3.6 and downgrade pip to 9.3
ddelpiano Jan 27, 2020
b48c35b
Merge pull request #157 from MetaCell/feature/451
ddelpiano Jan 27, 2020
9bd05db
Merge remote-tracking branch 'origin/development' into feature/418
jrmartin Jan 28, 2020
6bd9ed4
fix: try catch send_score_to_geppetto task for logging errors
zsinnema Jan 29, 2020
e4335e7
feat: add django sentry to settings and reorganized settings
zsinnema Jan 29, 2020
bb9155a
chore: update/refactor sentry to support seperate app and system erro…
zsinnema Jan 29, 2020
06e954b
feat: added app error handling for simulation errors
zsinnema Jan 29, 2020
0a9bd8f
install frontend script modified to handle the new geppetto structure
ddelpiano Jan 31, 2020
83c1f91
fixed alternative repo to be used if branch is not present
ddelpiano Jan 31, 2020
7f5de5f
Merge pull request #158 from MetaCell/feature/454
ddelpiano Jan 31, 2020
9942c74
Merge remote-tracking branch 'origin/development' into feature/418
jrmartin Jan 31, 2020
9b42182
Use feature/421 for geppetto-scidash on scidash image, not to be merged,
jrmartin Jan 31, 2020
931aa9f
Use feature/418 for testing
jrmartin Jan 31, 2020
bbfe0ab
Use feature/421
jrmartin Jan 31, 2020
c897ffc
remove --no-cache for testing
jrmartin Jan 31, 2020
bbaef0e
add back --no-cache, done testing
jrmartin Jan 31, 2020
e202fbd
remove hard coded paths, done testing
jrmartin Feb 4, 2020
16402ec
Remove hard coded paths
jrmartin Feb 4, 2020
239fa37
adding missing libraries
ddelpiano Feb 4, 2020
84ebfc7
Merge pull request #161 from MetaCell/fix/jest_puppeter
ddelpiano Feb 4, 2020
b96a03a
adding apt update to retrieve new packages
ddelpiano Feb 4, 2020
0970b91
Merge pull request #163 from MetaCell/fix/jest_puppeter
ddelpiano Feb 4, 2020
0c5bcc6
fix sandbox error
ddelpiano Feb 4, 2020
01866cb
typo
ddelpiano Feb 4, 2020
340dfce
Merge pull request #165 from MetaCell/fix/jest_puppeter
ddelpiano Feb 4, 2020
5ceae2c
Merge pull request #152 from MetaCell/feature/418
ddelpiano Feb 4, 2020
d770559
feat: clone demo modelinstancess and testinstances when a new user si…
zsinnema Feb 16, 2020
92021dd
new yaml files for the new CD instance
ddelpiano Feb 28, 2020
fd206d7
Merge pull request #169 from MetaCell/feature/new_cd_instance
ddelpiano Feb 28, 2020
3d2e33f
fixing minor db version due to the latest breaking change has been in…
ddelpiano Feb 29, 2020
8663cb1
Merge pull request #171 from MetaCell/fix/postgres_fucked_it_up
ddelpiano Feb 29, 2020
8614ce2
Merge branch 'feature/395' into feature/390
zsinnema Feb 29, 2020
36daf79
feat: lock neuronunit to 'metacell' branch
zsinnema Mar 1, 2020
8159773
Merge branch 'development' into feature/478
zsinnema Mar 1, 2020
94933d3
pointing to Rick repos
ddelpiano Mar 3, 2020
40e20a7
Merge pull request #173 from MetaCell/feature/478
ddelpiano Mar 3, 2020
330bc59
Merge pull request #160 from MetaCell/feature/395
ddelpiano Mar 3, 2020
3d4e302
dockerfile changes
ddelpiano Mar 3, 2020
6be1e8a
Merge branch 'feature/390' of https://github.com/metacell/scidash int…
ddelpiano Mar 3, 2020
07a8826
Merge branch 'development' into feature/390
zsinnema Mar 4, 2020
2a95c4e
Merge branch 'development' into feature/390
ddelpiano Mar 4, 2020
4d6b535
Fix docker virgo image
jrmartin Mar 11, 2020
a46e610
Revert previous change
jrmartin Mar 11, 2020
ad17824
Fix docker virgo
jrmartin Mar 11, 2020
822f43c
saving wip
zsinnema Mar 14, 2020
f06e10c
feat: add oembed for dropping embed urls for example youtube video urls
zsinnema Mar 15, 2020
09fa4e7
feat: add filtering based on validity date
zsinnema Mar 15, 2020
6d536dc
feat: added set show instructions
zsinnema Mar 17, 2020
0addcaa
fix: add missing migration
zsinnema Mar 18, 2020
71db6af
Merge branch 'development' of https://github.com/metacell/scidash int…
ddelpiano Mar 19, 2020
ca50eae
Merge pull request #168 from MetaCell/feature/469
ddelpiano Mar 19, 2020
e6c54d8
Merge pull request #175 from MetaCell/feature/390
ddelpiano Mar 19, 2020
21ad9b9
Merge pull request #176 from MetaCell/feature/482
ddelpiano Mar 19, 2020
5a9d163
chore: add search field for admin test classes
zsinnema Mar 19, 2020
566f7e7
Merge branch 'development' into feature/390
zsinnema Mar 19, 2020
0b15453
Merge remote-tracking branch 'origin/development' into feature/472
jrmartin Mar 20, 2020
891a047
feat: format login page
zsinnema Mar 20, 2020
40be6b4
Merge branch 'feature/390' of github.com:MetaCell/scidash into featur…
zsinnema Mar 20, 2020
b052e97
fix: removed >>>>>>> from the end
zsinnema Mar 20, 2020
94a94f4
feat: optimize and changed styling password reset process
zsinnema Mar 20, 2020
0085761
chore: added gitkeep in static models and projects
zsinnema Mar 22, 2020
1a2f8db
feat: added password-reset-confirm.html
zsinnema Mar 22, 2020
5dbc50f
styling login page
ddelpiano Mar 23, 2020
7b40fd2
Merge pull request #177 from MetaCell/feature/390
ddelpiano Mar 23, 2020
9382a2c
Merge remote-tracking branch 'origin/development' into feature/472
jrmartin Mar 23, 2020
92a080a
using feature/487 and feature/472 branches as part of testing
jrmartin Mar 26, 2020
ef6ed87
use feature/472 for testing
jrmartin Mar 26, 2020
75af748
CLone extension inside webapp folder
jrmartin Mar 26, 2020
ee86891
Revert changes for tests
jrmartin Mar 26, 2020
f8a4338
Test
jrmartin Mar 27, 2020
cf67e7e
test feature/487
jrmartin Mar 27, 2020
655a20e
test feature/472
jrmartin Mar 27, 2020
70a622f
Fix dockers
jrmartin Mar 27, 2020
24bbf5e
revert test change
jrmartin Mar 27, 2020
b0b5972
Use development branch on simulator scidash
jrmartin Mar 27, 2020
2ec7beb
minor fixes to dockerfile and geppetto plan versions
ddelpiano Mar 31, 2020
af12abf
readme updated
ddelpiano Mar 31, 2020
b4c718b
geppetto java dockerfile reverted with stable branch, geppetto.plan f…
ddelpiano Apr 1, 2020
ecb5f2c
adding email variables to codefresh and dockerfile to be used in the …
ddelpiano Apr 1, 2020
7cedbac
small fix dockerfile
ddelpiano Apr 1, 2020
7378126
pom fixed
ddelpiano Apr 1, 2020
0535b06
Merge pull request #179 from MetaCell/feature/472
ddelpiano Apr 1, 2020
32acc5f
fix dockerfile virgo
ddelpiano Apr 1, 2020
bb151ed
Merge pull request #181 from MetaCell/feature/472
ddelpiano Apr 1, 2020
3e9e5db
fixing args for scidash image recovery email
ddelpiano Apr 1, 2020
c68827e
Merge pull request #183 from MetaCell/fix/recovery_email_args
ddelpiano Apr 1, 2020
245a547
re-adding models and projects folders, removed by mistake
ddelpiano Apr 2, 2020
0d54562
Merge pull request #185 from MetaCell/fix/models_and_projects
ddelpiano Apr 2, 2020
565d10b
fix: fixes missing java 8 dependency
zsinnema Apr 20, 2021
c1abb1f
chore: added -q (quiet) to wget of virgo maven download
zsinnema Apr 21, 2021
786f947
chore: fixes issues with installing/setting up scidash
zsinnema Apr 21, 2021
5d61167
chore: switched dockerfile scidash to development branch
zsinnema Apr 21, 2021
8631342
chore: fixed build codefresh script
zsinnema Apr 21, 2021
0184d0a
chore: fixed issue with incorrect java home in virgo container
zsinnema Apr 21, 2021
706c0f2
chore: added new sciunit style settings getter
zsinnema Apr 21, 2021
cca19f7
chore: added ddelpiano/sciunit@4.0.0 to requirements
zsinnema Apr 21, 2021
ea6d312
chore: reinstall sciunit@4.0.0 after all requirements are installed
zsinnema Apr 21, 2021
ef663a3
chore: fixes issue duplicate key
zsinnema Apr 22, 2021
5a3100b
chore: moved env java home to up
zsinnema Apr 22, 2021
1953d09
chore: added scidash api dependency install in docker file
zsinnema Apr 22, 2021
e97c4c4
chore: reverted changes due to an update of neuronunit fixing tempora…
zsinnema Apr 22, 2021
2aba112
chore: use zsinnema/neuronunit with fix for tempdir
zsinnema Apr 22, 2021
4e82fd3
chore: updated k8s deployment file
zsinnema Apr 22, 2021
97997fa
chore: updated k8s deployment file
zsinnema Apr 22, 2021
4a56258
chore: updated k8s deployment file
zsinnema Apr 22, 2021
6129db5
chore: updated k8s deployment files
zsinnema Apr 22, 2021
44a9d4a
chore: updated k8s deployment files
zsinnema Apr 22, 2021
a55ef1b
chore: updated k8s deployment files
zsinnema Apr 22, 2021
a827f77
chore: updated k8s deployment files, removed pullsecret
zsinnema Apr 22, 2021
52d3799
chore: revert back to neuronunit repo
zsinnema Apr 23, 2021
fc568f8
chore: added pvc to postgres k8s deployment
zsinnema Apr 23, 2021
0f752ed
chore: renamed the pvcs and removed prod yamls
zsinnema Apr 23, 2021
9ee86e0
chore: use development branch in scidash postgres docker image
zsinnema Apr 23, 2021
337d55a
chore: mount db pvc in /opt/scidash-db and set PGDATA
zsinnema Apr 23, 2021
584a95a
chore: added redis deployment to k8s
zsinnema Apr 23, 2021
ff518bf
chore: added cluster ip and port to redis yaml
zsinnema Apr 23, 2021
650be5d
chore: added pvc scidash-geppetto to scidash-virgo
zsinnema Apr 23, 2021
ef4bdc2
fix: type in scidash k8s scidash-geppetto pvc
zsinnema Apr 23, 2021
c2ea86c
fix: permissions on geppettoTmp for virgo pod
zsinnema Apr 23, 2021
ec7424c
fix: permissions on geppettoTmp for virgo pod
zsinnema Apr 23, 2021
9ffe180
chore: add scidash api dependency
zsinnema Apr 25, 2021
d945f4e
chore: moved scidash api dependency to requirements files
zsinnema Apr 25, 2021
c47a952
chore: fix pip dependency
zsinnema Apr 25, 2021
b683c5e
chore: fix pip dependency
zsinnema Apr 25, 2021
0b79ef8
chore: added cf short revision as env variable to k8s
zsinnema Apr 26, 2021
6a3fea2
chore: scidash docker use working tree to build
zsinnema Apr 26, 2021
15ad5fb
chore: scidash docker use working tree to build
zsinnema Apr 26, 2021
35186f7
chore: added environment setting for sentry
zsinnema May 3, 2021
f2b6420
chore: added pod affinity
zsinnema May 3, 2021
907bf7f
chore: fixed pod affinity
zsinnema May 3, 2021
e1438d8
chore: updated sentry version
zsinnema May 3, 2021
fb46164
chore: updated celery general.tasks
zsinnema May 3, 2021
4735e5d
chore: added path to celery creation
zsinnema May 3, 2021
0441cf1
chore: fixes sentry import error
zsinnema May 3, 2021
737f1f4
chore: added ingress yaml for kubernetes
zsinnema May 4, 2021
0ab4afd
chore: changed scidash frontend geppetto to useSsl=true
zsinnema May 5, 2021
050ccdf
chore: changed scidash frontend geppetto to useSsl=true
zsinnema May 5, 2021
773c87c
fix: fixes hardcoded domain in ingress.yaml
zsinnema May 5, 2021
e972e37
chore: replaced cf_short_version by cf_build_id
zsinnema May 5, 2021
22e21c4
fix: fix for geppetto config not on ssl
zsinnema May 5, 2021
cae2b5b
Feature/193 (#196)
zsinnema May 14, 2021
1551675
chore: commented out the creation of the secret
zsinnema May 14, 2021
acc7f1f
chore: added social auth keys and secrets to codefresh
zsinnema May 14, 2021
4462458
chore: fixed social auth redirect path
zsinnema May 15, 2021
2714bb2
chore: added secret support for docker compose
zsinnema May 16, 2021
0304d10
updated .gitignore
zsinnema May 16, 2021
4a5ef62
chore: added login & signup with django auth again
zsinnema May 17, 2021
f68d78a
chore: added password reset
zsinnema May 17, 2021
de06da0
chore: added password reset
zsinnema May 17, 2021
7b8f955
chore: added password reset
zsinnema May 17, 2021
f6e3614
chore: use CF_SHORT_REVISION for the image tag
zsinnema May 17, 2021
d6571a4
#197 chore: add social auth icons
zsinnema May 18, 2021
8fd2ae8
chore: css updates for registration login
zsinnema May 18, 2021
37f54d2
#198 chore: add settings to api and refactor sentry settings
zsinnema May 19, 2021
e796b09
#198 chore: add settings to api and refactor sentry settings (#199)
zsinnema May 19, 2021
0c00e91
#198 chore: upgrade to latest (master) neuonunit and fix missing obse…
zsinnema May 20, 2021
536d7f5
Merge branch 'feature/198' of github.com:MetaCell/scidash into featur…
zsinnema May 20, 2021
9a4bfcc
fix: updated dockerignore to add static/models and static/projects
zsinnema May 20, 2021
74fd711
fix: djangorestframework jwt
zsinnema May 21, 2021
3e30eda
fix django rest jwt token login issue
zsinnema May 21, 2021
3f40d62
chore: use rest frame work jwt authentication
zsinnema May 21, 2021
31dab37
changed gmail smtp port to 587
zsinnema May 21, 2021
5d276cd
updated settings
zsinnema May 21, 2021
b262542
updated settings
zsinnema May 21, 2021
fdf374d
chore: catch exception when no secrets folder exists
zsinnema May 25, 2021
912e856
chore: update requirements
zsinnema Jun 2, 2021
2683b51
chore: add second option for validating the test instance, use the ne…
zsinnema Jun 2, 2021
12baf6c
chore: update install backend script
zsinnema Jun 2, 2021
22c32a4
chore: move validation logic to separate module
zsinnema Jun 2, 2021
a979814
chore: updated requirements to use sciunit from neuronunit
zsinnema Jun 3, 2021
83f47ca
chore: updated requirements to use sciunit from git
zsinnema Jun 3, 2021
35049b1
chore: add http(s) redirection setting for social login
zsinnema Jun 3, 2021
2215e3c
chore: added store scoreinstance related_data support
zsinnema Jun 3, 2021
1d42151
chore: added proxy-body-size to ingress yaml
zsinnema Jun 3, 2021
f7047c8
chore: split http(s) setting from dev/prod mode
zsinnema Jun 3, 2021
5b5c32a
chore: exclude related data from json
zsinnema Jun 3, 2021
b839915
chore: added related_data to scores.json
zsinnema Jun 4, 2021
c46ecde
chore: added Google site tag for SciDash
zsinnema Jun 15, 2021
ab489a8
chore: set jwt token expiry to 2 hours, added pre fetch related data …
zsinnema Jun 18, 2021
6253d6f
chore: requirements switched to sciunit@master
zsinnema Jun 28, 2021
5d0bc3c
#369 chore: added tooltips
zsinnema Jun 29, 2021
16600a3
#394 chore: realigned README
zsinnema Jun 30, 2021
46d017c
chore: update code coverage badge
zsinnema Jun 30, 2021
86f21f9
#414 chore: fix python unit tests
zsinnema Jun 30, 2021
c7fb4e6
fix: fixes wrong image path in k8s postgres yaml
zsinnema Jul 22, 2021
34bd29c
hotfix: fixes crash when context has no request
zsinnema Jul 22, 2021
867a22f
fix: build of virgo docker image
zsinnema Sep 20, 2023
389f313
fix: scidash requirements.txt
zsinnema Sep 20, 2023
e6089dd
fix: update dockerfiles
zsinnema Sep 21, 2023
f8596d6
fix: update python requirements
zsinnema Sep 21, 2023
82a80a1
fix: docker compose
zsinnema Sep 21, 2023
fa36caf
fix: skip rust cryptography build
zsinnema Sep 21, 2023
9ba0bdc
chore: use npm ci instead of npm install, use the package-lock.json
zsinnema Sep 21, 2023
99de562
fix: requirements scidash and added docker compose health checks
zsinnema Sep 21, 2023
a690d37
chore: cleanup service/docker folder
zsinnema Sep 21, 2023
c764ba4
fix: docker-compose renaming scidash-postgres to scidash-db
zsinnema Sep 21, 2023
ede7c95
chore: fix docker-compose
zsinnema Sep 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
plugins =
django_coverage_plugin
omit =
venv/*
static/*
*/migrations/*
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
venv
tmp
**/*/node_modules
pygeppetto-django
static/org.geppetto.frontend
service/docker
28 changes: 23 additions & 5 deletions .env
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
DEVELOPMENT=1
PRODUCTION=0

DB_HOST='localhost'
DB_HOST=scidash-postgres
DB_PORT=5432
DB_NAME='scidash'
DB_NAME=scidash
DB_USER=scidash_admin
DB_PASSWORD=scidash_local_password

REDIS_URL='redis://'
STATIC_URL=/static/
STATIC_DIR=static

STATIC_URL='/static/'
STATIC_DIR='static'
REDIS_URL=redis://scidash-redis:6379

# for localhost
# GEPPETTO_HOST=localhost
# for docker
GEPPETTO_HOST=scidash-virgo
GEPPETTO_PORT=8080
GEPPETTO_SERVLET_URL=ws://${GEPPETTO_HOST}:${GEPPETTO_PORT}/org.geppetto.frontend/GeppettoServlet
GEPPETTO_BASE_URL=http://${GEPPETTO_HOST}:${GEPPETTO_PORT}/org.geppetto.frontend/geppetto

BASE_PROJECT_FILES_HOST='http://172.21.0.1:8000/static/projects/'

DEBUG=True
# ToDo: change in development sentry dsn
SENTRY_DSN="https://ccf48f7877bc4fb5a4cca74bdd193feb@sentry.io/1955654" # base of all errors
SENTRY_SYS_DSN="https://ccf48f7877bc4fb5a4cca74bdd193feb@sentry.io/1955654" # system/infra errors
SENTRY_APP_DSN="https://81d007aa741d46ada0741f1a4f1cfd1c@sentry.io/2069800" # application errors
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[flake8]
max-line-length = 79
exclude = .git,__pycache__,build,dist,.tox,*/migrations/*,env,__init__.py,settings.py,*/node_modules/*,routing.py
exclude = .git,__pycache__,build,dist,.tox,*/migrations/*,env,venv,__init__.py,settings.py,*/node_modules/*,routing.py
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ MANIFEST
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
# Unit tests / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
Expand Down Expand Up @@ -120,3 +119,6 @@ static/models/*
virgo-tomcat-server/*
virgo-tomcat-server/work/*
celerybeat.pid

.devcontainer
tmp
11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>scidash</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: node_js
sudo: required
node_js:
- "9"
install:
- npm install jest@24.8.0 puppeteer@1.17.0 jest-puppeteer@4.3.0 @babel/preset-env@7.4.5 url-join@4.0.0 @babel/core@7.4.5
script:
- echo -e "python unit/integration testing running in geppetto-scidash travis" || true
after_success:
- echo $TRAVIS_BRANCH
- echo $TRAVIS_PULL_REQUEST
- echo $TRAVIS_PULL_REQUEST_BRANCH
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
bash $TRAVIS_BUILD_DIR/service/scripts/trigger-travis.sh --branch $TRAVIS_PULL_REQUEST_BRANCH Metacell geppetto-scidash $TRAVIS_ACCESS_TOKEN ;
echo "I am in the first condition, so I am evaluating";
else
bash $TRAVIS_BUILD_DIR/service/scripts/trigger-travis.sh --branch $TRAVIS_BRANCH Metacell geppetto-scidash $TRAVIS_ACCESS_TOKEN ;
echo "I am in the second condition";
fi
- cat /tmp/travis-request-output*
41 changes: 34 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

VENV:=$(shell if [ -d "venv" ]; then echo "venv/bin/"; else echo ""; fi)
PYTHON:=$(VENV)python3
PIP:=$(VENV)/bin/pip
MANAGE:="manage.py"
MANAGECMD=$(PYTHON) $(MANAGE)

install: create-db install-sciunit-neuronunit install-frontend install-backend
@echo "==========================="
@echo "= Finished ="
Expand All @@ -19,7 +26,7 @@ install-frontend:
@echo "==========================="
@echo "= Install frontend ="
@echo "==========================="
@./service/scripts/install-frontend.sh
@./service/scripts/install-frontend.sh $(ARGS)

codefresh-install-frontend:
@echo "==========================="
Expand All @@ -37,7 +44,7 @@ install-backend-with-env:
@echo "==========================="
@echo "= Install backend ="
@echo "==========================="
@./service/scripts/install-backend.sh -v
@./service/scripts/install-backend.sh -v $(ARGS)

create-db:
@echo "==========================="
Expand All @@ -63,19 +70,20 @@ run-staging: migrate
django-migrate: migrations migrate

migrations:
./manage.py makemigrations
$(MANAGECMD) makemigrations

migrate:
./manage.py migrate
$(MANAGECMD) migrate

superuser:
./manage.py createsuperuser
$(MANAGECMD) createsuperuser

run-django:
./manage.py runserver
cp ./service/dotenv/dev_env .env
$(MANAGECMD) runserver --insecure 0.0.0.0:8000

run-django-staging:
python3.6 manage.py runserver --insecure 0.0.0.0:8000
$(MANAGECMD) runserver --insecure 0.0.0.0:8000

run-frontend:
cd static/org.geppetto.frontend/src/main/webapp/; npm run build-dev-noTest:watch;
Expand All @@ -89,6 +97,23 @@ run-celery-beat:
run-virgo-staging:
/bin/bash /opt/virgo/bin/startup.sh

manage/%:
$(MANAGECMD) $*

run-tests: run-django-tests

run-django-tests:
$(MANAGECMD) test

run-coverage:
coverage run $(MANAGE) test

coverage-badge: run-coverage
coverage-badge -o coverage.svg -f

coverage: run-coverage
coverage report -m

lint: flake8-lint isort-lint yapf-lint

format: yapf-format isort-format
Expand Down Expand Up @@ -140,3 +165,5 @@ push-scidash-db:
@echo "= Push scidash db image ="
@echo "==========================="
@./service/scripts/push-image-scidash-db.sh
%:
@:
Loading