Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean Old API out of the repostiory #179

Closed
wants to merge 1,193 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1193 commits
Select commit Hold shift + click to select a range
d81204e
removing geog feature
jsadler2 Jan 9, 2015
0c2fb82
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
8025a0c
removing geog feature
jsadler2 Jan 9, 2015
5686d16
metadata model tests
jsadler2 Jan 17, 2015
490341b
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
c8003c8
removing geog feature
jsadler2 Jan 9, 2015
ce98481
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
56ebbf9
removing geog feature
jsadler2 Jan 9, 2015
ef39833
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
2452f2c
removing geog feature
jsadler2 Jan 9, 2015
485f97a
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
7823e74
removing geog feature
jsadler2 Jan 9, 2015
1411366
mostly file permissions, also beginning to implement new workflow
jsadler2 Jan 14, 2015
25487d0
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
59c8e6e
removing geog feature
jsadler2 Jan 9, 2015
c2173bb
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
e939eb6
removing geog feature
jsadler2 Jan 9, 2015
8b2302f
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
f359637
removing geog feature
jsadler2 Jan 9, 2015
5974471
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
87486bc
removing geog feature
jsadler2 Jan 9, 2015
d1e6cff
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
75fd184
removing geog feature
jsadler2 Jan 9, 2015
f7f6624
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
d3ab465
removing geog feature
jsadler2 Jan 9, 2015
80dd93e
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
08fd971
removing geog feature
jsadler2 Jan 9, 2015
7aa44b8
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
d76c541
removing geog feature
jsadler2 Jan 9, 2015
420a822
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
491bc21
removing geog feature
jsadler2 Jan 9, 2015
4e7bb46
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
a752a61
removing geog feature
jsadler2 Jan 9, 2015
7f25de9
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
62403f9
removing geog feature
jsadler2 Jan 9, 2015
ebe14df
beginning of geographic feature resource type
jsadler2 Jan 3, 2015
bf800b3
removing geog feature
jsadler2 Jan 9, 2015
9133e25
metadata model tests
jsadler2 Jan 17, 2015
4cd98ba
[#9] remove static directory
Jan 21, 2015
dd8fca9
title from front page, bracklocs,
jsadler2 Jan 29, 2015
4a1ee71
mostly file permissions, changed loading order of jquery_ui and boots…
jsadler2 Feb 8, 2015
899c77f
jimmy rigged new workflow
jsadler2 Feb 9, 2015
97be035
improved wml2 parsing
jsadler2 Feb 10, 2015
9511660
deleted static stuff
jsadler2 Feb 10, 2015
b234a3a
more parsing improvements
jsadler2 Feb 10, 2015
cded3ae
trying to pull
jsadler2 Feb 10, 2015
6e28542
Iss: nc bounds variable for coverage info-draft
jamy127 Feb 11, 2015
aa5d8d2
changed bandName to name to fix bandInformation metadata update valid…
hyi Feb 11, 2015
eae3563
added default projection info for spatial coverage element
hyi Feb 11, 2015
bd62832
added irods account creation when a django account is created
hyi Feb 11, 2015
aa31391
* [#124] Added glyphicons to tabs
Maurier Feb 11, 2015
0564356
Merge pull request #141 from hydroshare/9-ref-timeseries-phase-1.1
mjstealey Feb 11, 2015
70227a3
updated submodule django_irods for django account creation
hyi Feb 11, 2015
6d0fd47
* [#124] Added wrapper to 'Content' field to handle overflow scrolling
Maurier Feb 11, 2015
ba90bed
Iss: variable type name refine Finish
jamy127 Feb 12, 2015
159f68f
Revert "9 ref timeseries phase 1.1"
mjstealey Feb 12, 2015
28fba21
Merge pull request #144 from hydroshare/revert-141-9-ref-timeseries-p…
mjstealey Feb 12, 2015
c59d1c4
* [#124] Moved sharing and comment sections to tabs
Maurier Feb 12, 2015
b51becc
* [#124] Fixed an issue where the auto resizing of the tabs panel wou…
Maurier Feb 12, 2015
34f9b40
* [#124] Modified resource delete message to make it more readable
Maurier Feb 12, 2015
06062a6
Merge branch 'develop' of https://github.com/hydroshare/hydroshare in…
jamy127 Feb 13, 2015
88ffc2e
Iss: refine box_info Draft
jamy127 Feb 13, 2015
737cb4e
Iss: refine box info (Draft)
jamy127 Feb 13, 2015
5d82f50
Iss: nc var meta refine (Finish)
jamy127 Feb 13, 2015
7aa8041
* [#152] Moved sharing information below the 'Rights' field and combi…
Maurier Feb 13, 2015
faa2a6a
* [#152] Added 'Sharing' header.
Maurier Feb 13, 2015
1a6a024
* [#152] Minor font and format changes
Maurier Feb 13, 2015
3e9d1a7
* [#152] Minor font and format changes
Maurier Feb 13, 2015
cf8fb19
* [#152] Fixed wrong occurrence of 'Private'
Maurier Feb 13, 2015
9cdde7a
[#152] Removed 'Sharing' tab and moved its content below the 'Share…
Maurier Feb 13, 2015
4cbda09
[#152] Fixed permission issues for toolbar icons.
Maurier Feb 13, 2015
9a75842
[#152] Fixed permission issues for toolbar icons.
Maurier Feb 13, 2015
563a28a
Iss: nc meta unit and period info refine finish
jamy127 Feb 13, 2015
ab5d833
* [#152] On Contact tab, made user homepage clickable
Maurier Feb 13, 2015
0c4610c
implemented multi-band metadata UI editing
hyi Feb 15, 2015
257793f
added resource deletion fix from develop branch back to this feature …
hyi Feb 15, 2015
b63ae7a
fixed some issues and further implemented multi-band metadata UI editing
hyi Feb 16, 2015
5ff186c
Merge pull request #155 from hydroshare/125-hotfix-migration
mjstealey Feb 16, 2015
4ad7eab
multi-band metadata UI editing via formset now works
hyi Feb 17, 2015
b030544
commented out iRODS account creation code in this feature branch as a…
hyi Feb 17, 2015
5371b08
Removed many references to the previous APIs and TastyPie usage. Most…
Feb 17, 2015
e0c4523
* [#152] Restyled sharing status button
Maurier Feb 17, 2015
e416ea4
Import all tests into the native test module, so they can be run toge…
Feb 17, 2015
7ce9eff
* [#152] Restyled permission panels
Maurier Feb 17, 2015
cb655cb
issue [#36] partially fixed - now add files to resource will populate…
hyi Feb 17, 2015
024c0dd
* [#152] Minor style changes in access lists
Maurier Feb 17, 2015
dbd9407
issue [#36] fixed - now both add files and delete files work for auto…
hyi Feb 17, 2015
8e8f880
addressed issue [#76] to allow editing of noDataValue
hyi Feb 18, 2015
baabee2
Iss: meta extract bug fix (Draft)
jamy127 Feb 18, 2015
ed3b3a0
* [#152] Grouped access lists in a collapsible panel
Maurier Feb 18, 2015
a1b1ba8
removed old ref_ts files
Feb 18, 2015
47fc169
add updated ref_ts files
Feb 18, 2015
304292f
update create-resource.html wiht ref_ts resource info
Feb 18, 2015
f912f28
update to hs_core/views/__init__.py to make use of ref_ts resource cr…
Feb 18, 2015
11281a7
Merge pull request #158 from hydroshare/migrate_ref_ts
mjstealey Feb 18, 2015
3fbaa07
sys: update with develop
jamy127 Feb 18, 2015
4c9081f
add hs_modelinstance resource files
Feb 18, 2015
d1005e1
update create-resource.html for Model Instance Resource option
Feb 18, 2015
925bfad
add migrations files and add to settings.py
Feb 18, 2015
35b9df9
Iss: nc subset update (Draft)
jamy127 Feb 19, 2015
0a1447e
Iss: nc subset update (Draft)
jamy127 Feb 19, 2015
cea92f2
update forms.py
Feb 19, 2015
4edfb59
Merge pull request #159 from hydroshare/migrate_model_instance
mjstealey Feb 19, 2015
2d86848
update deployment files
Feb 19, 2015
01d314b
update theme migrations files
Feb 19, 2015
48365e7
Merge branch 'develop' of https://github.com/hydroshare/hydroshare in…
jamy127 Feb 19, 2015
b4528a8
sys: merge develop
jamy127 Feb 19, 2015
e688291
merge prep for release_candidate_1.3.0 into develop
Feb 19, 2015
a597421
Merge pull request #161 from hydroshare/release_candidate_1.3.0
mjstealey Feb 19, 2015
aa25d01
Iss: nc subset refine (draft)
jamy127 Feb 19, 2015
c31f08e
Iss: nc subset refine (D)
jamy127 Feb 19, 2015
c7b7931
* [#152] Restyled 'Manage access' panels.
Maurier Feb 20, 2015
358a974
* [#152] Added creative common badges to Rights statement
Maurier Feb 20, 2015
1102c0d
* [#152] Added minimum width on access panels to fix layout problem o…
Maurier Feb 20, 2015
2c52755
[#162] hotfix to include the missing check_resource_mode() in hs_core
pkdash Feb 20, 2015
7385c9b
Merge pull request #163 from hydroshare/162-hotfix-develop
mjstealey Feb 20, 2015
41bb811
[#162] update to migrations files for development environment
Feb 20, 2015
4e1bab7
Merge pull request #164 from hydroshare/162-hotfix-develop
mjstealey Feb 20, 2015
c565ed6
[#162] update database provided with development code
Feb 20, 2015
0569469
Iss: nc subset as nco (D)
Feb 20, 2015
1bd00de
Iss: ncsubset as nco (D2)
Feb 20, 2015
8c6c959
* [#152] Added minimum width on access panels to fix layout problem o…
Maurier Feb 20, 2015
ccdbd59
[#162] updated development database
Feb 23, 2015
b851951
Merge pull request #166 from hydroshare/162-hotfix-develop
mjstealey Feb 23, 2015
ba185a7
[#9] change order of jquery-ui and bootstap calls in base.html
mjstealey Feb 24, 2015
51554e1
Merge pull request #167 from hydroshare/9-refts-hotfix
mjstealey Feb 24, 2015
68d79a8
remove directory for merge
Feb 25, 2015
1ab17d1
re-add hs_geo_raster_resource directory
Feb 25, 2015
d0854a1
merge branches for 82-
Feb 25, 2015
c8b0ab0
merge prep
Feb 25, 2015
afe2d2f
Merge pull request #175 from hydroshare/82-migrate-branch
mjstealey Feb 25, 2015
1012e82
update migrations for hs_geo_raster_resorce
Feb 25, 2015
3bc4567
sys:merge with develop
jamy127 Feb 25, 2015
8d2c97a
Merge branch 'develop' of https://github.com/hydroshare/hydroshare in…
Maurier Feb 25, 2015
d731664
Removing API and related items.
Feb 26, 2015
17bfe28
Remove additional TastyPie based tests.
Feb 26, 2015
06b9f2e
Added back 'users_api' module which isn't actually an API at all, but…
Feb 26, 2015
6d60299
Implemented helper method for serializing metadata elements to XML
selimnairb Feb 26, 2015
b609204
[#165] Added resource specific data.
Maurier Feb 27, 2015
eae15c6
[#152] The Owner is now listed as the HydroShare user's first and l…
Maurier Feb 27, 2015
9f353f8
Fixed add_metadata_element_to_xml to fix case where attribute is set to
selimnairb Feb 27, 2015
8020925
[#8] update NetCDF merge files, remove developer specific references …
Feb 27, 2015
e66dc70
Merge pull request #177 from hydroshare/8-netcdf-phase-1
mjstealey Feb 27, 2015
3548cd5
Merge pull request #183 from hydroshare/182-md-xml-serialize-helper
mjstealey Feb 27, 2015
7a231e1
modify pg.development.sql to inlcude permissions for new resources
Feb 27, 2015
9814b4b
First commit of model program resource
Jan 10, 2015
5468ede
Implemented resource creation in views.py. Fixed details page displa…
Jan 10, 2015
b140696
Changed user_manual, theoretical_manual, source_code, and release_not…
Jan 15, 2015
cbc3d5e
Updated the create-resource function in hs_model_program/views.py to …
Jan 15, 2015
238aa36
Cleaned up the view and html details page
Jan 15, 2015
3453708
styling html [#54]
Jan 15, 2015
5150b39
Adjusted the way EULA was being displayed. It was pushing the resour…
Jan 16, 2015
1b60f2c
Edits to view and javascript to fix details page rendering [#54]
Jan 16, 2015
c54d013
[#152] Minor style changes on access panels
Maurier Mar 2, 2015
13e561a
[#152] Group access configuration panels are now hidden until futur…
Maurier Mar 3, 2015
fbfb78e
[#22] Added default value for modelOutput metadata to remove the warn…
mohamedmorsy Mar 3, 2015
e7c326d
[#152] Minor style changes
Maurier Mar 3, 2015
1b90b51
Updated to the new resource workflow
Castronova Mar 4, 2015
5eea6af
merge conflict resolution
Castronova Mar 4, 2015
0f74dd5
fixed a merge conflict
Castronova Mar 4, 2015
d8b4d53
[#152] Minor style changes
Maurier Mar 4, 2015
c35c569
Merge pull request #189 from hydroshare/model-instance-update
mjstealey Mar 5, 2015
c6d8002
cleaned up the layout and language used on the landing page. Removed…
Castronova Mar 5, 2015
dc750f7
Implemented get_xml
Castronova Mar 5, 2015
6aae504
fixed bug that was causing metadata update to fail
Castronova Mar 5, 2015
b621a10
First commit of model program resource
Jan 10, 2015
e7ac1e2
Implemented resource creation in views.py. Fixed details page displa…
Jan 10, 2015
28c28c0
Changed user_manual, theoretical_manual, source_code, and release_not…
Jan 15, 2015
7c8ac8f
Updated the create-resource function in hs_model_program/views.py to …
Jan 15, 2015
479c0f7
Cleaned up the view and html details page
Jan 15, 2015
39291b5
styling html [#54]
Jan 15, 2015
ce3d3ec
Adjusted the way EULA was being displayed. It was pushing the resour…
Jan 16, 2015
3437e5e
Edits to view and javascript to fix details page rendering [#54]
Jan 16, 2015
a0ea6a7
First commit of model program resource
Jan 10, 2015
c176da2
Implemented resource creation in views.py. Fixed details page displa…
Jan 10, 2015
decf330
styling html [#54]
Jan 15, 2015
8066c79
Adjusted the way EULA was being displayed. It was pushing the resour…
Jan 16, 2015
7b98974
Updated to the new resource workflow
Castronova Mar 4, 2015
bcbce40
fixed a merge conflict
Castronova Mar 4, 2015
a8c03b5
cleaned up the layout and language used on the landing page. Removed…
Castronova Mar 5, 2015
5eea42b
Implemented get_xml
Castronova Mar 5, 2015
41e014c
fixed bug that was causing metadata update to fail
Castronova Mar 5, 2015
7836d1a
added missing migrations
Castronova Mar 5, 2015
5cb2c4b
add some missing files
Castronova Mar 5, 2015
2df0a11
[#197] initial implementation
jamy127 Mar 5, 2015
509a588
[#152] Fixed author name links
Maurier Mar 6, 2015
2956836
[#152] Added timestamps to created and last updated dates
Maurier Mar 6, 2015
57478d7
removed unnecessary files.
Castronova Mar 9, 2015
c61894d
removed local settings from fig, settings, and urls
Castronova Mar 9, 2015
b144527
Merge pull request #198 from hydroshare/197-fix-add-delete-file-bug
mjstealey Mar 9, 2015
02d0517
[#205] made necessary cleanup to forms.py in hs_core
pkdash Mar 9, 2015
be70bb7
update fig files and deploy-hs script
Mar 9, 2015
db7694b
[#195] initial implementation
pkdash Mar 5, 2015
0271419
[#195] added resource file type validation to resource landing page
pkdash Mar 7, 2015
3923ad6
[#195] fixed a bug in timeseries resource signal handler related to f…
pkdash Mar 7, 2015
7b0ad82
[#195] rebased and added a todo item
pkdash Mar 9, 2015
42eeb14
first phase of implementation to address issue #186
hyi Mar 9, 2015
2365a45
[#206]need new signal post_add_files_to_resource(): initial implement…
jamy127 Mar 9, 2015
83f90f3
fixed issue [#77] and further fix to issue [#76]
hyi Mar 10, 2015
2b21b61
added a summary for number of comments in resource landing page
hyi Mar 10, 2015
af51ff9
finished first phase of implementation for issue #186
hyi Mar 10, 2015
f8eae13
first phase of implementation to address issue #186
hyi Mar 9, 2015
1af9ffa
fixed issue [#77] and further fix to issue [#76]
hyi Mar 10, 2015
64042be
added a summary for number of comments in resource landing page
hyi Mar 10, 2015
28bdfdc
finished first phase of implementation for issue #186
hyi Mar 10, 2015
7a33cfa
Rebase with develop branch:
hyi Mar 11, 2015
0cd1a7b
Merge branch '186-comments-ratings' of https://github.com/hydroshare/…
hyi Mar 11, 2015
fd1c938
revert fig.yml and remove pycharm debugging from __init__.py
hyi Mar 11, 2015
2a6d635
[#136] add help.html update as implemeneted by @rayi113
Mar 11, 2015
f5ce69f
[#136] update file permissions for help.html
Mar 11, 2015
cbc347f
Merge pull request #196 from hydroshare/54-model-program
mjstealey Mar 11, 2015
ed3e8f5
[#195] resolve merge conflict in hs_core/views/__init__.py
mjstealey Mar 11, 2015
0af79d1
Merge pull request #202 from hydroshare/195-upload-file-validation
mjstealey Mar 11, 2015
cb962b2
added functionality of email-sending when a comment is posted and a l…
hyi Mar 11, 2015
88c5710
Merge pull request #207 from hydroshare/206-add-post-add-files-to-res…
mjstealey Mar 11, 2015
b19f096
Merge pull request #208 from hydroshare/205-form-code-cleanup
mjstealey Mar 11, 2015
dd99ba4
reverted rating from a 1-10 scale back to +1
hyi Mar 11, 2015
54d4174
[#186] resolve merge conflict in hs_core/views/__init__.py
mjstealey Mar 11, 2015
599c011
Merge pull request #213 from hydroshare/186-comments-ratings
mjstealey Mar 11, 2015
0ba8028
Merge branch 'develop' of https://github.com/hydroshare/hydroshare in…
Maurier Mar 11, 2015
e9d0d22
fixed some further on Support page re: #136
Mar 11, 2015
afbe818
UPDATED
Maurier Mar 11, 2015
0c742e5
Merge pull request #215 from hydroshare/136-develop-ri
mjstealey Mar 11, 2015
739ff22
added file validation for raster resource type and some cleanup for c…
hyi Mar 11, 2015
b4ee352
removed pycharm debug code
hyi Mar 11, 2015
50caf6a
[#152] Fixed access panel input boxes not showing up.
Maurier Mar 11, 2015
9504ad5
updating
Maurier Mar 11, 2015
3d8f094
updating
Maurier Mar 11, 2015
0a0eae0
Merge branch 'develop' of https://github.com/hydroshare/hydroshare in…
Maurier Mar 11, 2015
00727d6
[#152] More fixes on access panels.
Maurier Mar 11, 2015
99f91c8
fixed bugs on file validation for cases where only one file type is a…
hyi Mar 12, 2015
643d26b
refined email notification for comments as decided by the team
hyi Mar 12, 2015
9d822c4
update to migrations files
mjstealey Mar 12, 2015
f2ee6dd
Merge pull request #216 from hydroshare/57-Resource_core_UI
mjstealey Mar 12, 2015
eb367b9
fixed comment nesting styling issue
hyi Mar 12, 2015
42deee2
[#217] Fixed the issue where the abstract field would not show up for…
Maurier Mar 12, 2015
e39135d
Merge pull request #220 from hydroshare/217-fix-on-abstract
mjstealey Mar 13, 2015
9e43656
[#186] resolve merge conflicts
mjstealey Mar 13, 2015
5f3c509
[#186] update migrations files
mjstealey Mar 13, 2015
8b50909
[#186] merge conflict resolution
mjstealey Mar 13, 2015
9a953c1
Merge pull request #218 from hydroshare/186-comments-ratings-hotfix
mjstealey Mar 13, 2015
8c0588f
[#186] modify ratings location on landing page
mjstealey Mar 13, 2015
0dd93fb
bug fixes
jsadler2 Mar 16, 2015
1fa50c5
fix no-data-value plot
jsadler2 Mar 16, 2015
c478843
Merge pull request #230 from hydroshare/9-ref-time-series-bug-fixes
mjstealey Mar 17, 2015
5416ac3
Merge pull request #231 from hydroshare/187-fix-no-data-value-plot
mjstealey Mar 17, 2015
d4e336e
[#237] file validation for pre_add_files_to_resource : initial implem…
Mar 17, 2015
ba8159a
Merge pull request #238 from hydroshare/237-file-validation-for-pre-a…
mjstealey Mar 17, 2015
a81c6d0
Remove another reference to ga_resources.api, now removed.
Mar 19, 2015
ca96e5e
Merge remote-tracking branch 'origin/develop' into clean-api
Mar 19, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*.db
.DS_Store
.coverage
/hydroshare/static
/static
.idea/
celeryd.pid
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM hs_base
FROM mjstealey/hs_base

ADD . /home/docker/hydroshare
WORKDIR /home/docker
Expand All @@ -8,13 +8,6 @@ RUN npm install carto
USER root
WORKDIR /home/docker/hydroshare

RUN apt-get install -y docker.io
RUN easy_install pip
RUN pip install django-autocomplete-light
RUN pip install django-jsonfield
RUN pip install docker-py
RUN pip install suds-jurko

RUN rm -rf /tmp/pip-build-root
RUN mkdir -p /var/run/sshd
RUN echo root:docker | chpasswd
Expand Down
23 changes: 15 additions & 8 deletions Dockerfile.prod → Dockerfile.irods
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
FROM mjstealey/hs_base_irods
FROM mjstealey/hs_base

WORKDIR /home/docker

# Install iRODS packages
RUN apt-get install -y libssl0.9.8 libfuse2
RUN curl ftp://ftp.renci.org/pub/irods/releases/4.0.3/irods-runtime-4.0.3-64bit.deb -o irods-runtime-4.0.3-64bit.deb
RUN curl ftp://ftp.renci.org/pub/irods/releases/4.0.3/irods-icommands-4.0.3-64bit.deb -o irods-icommands-4.0.3-64bit.deb
RUN sudo dpkg -i irods-runtime-4.0.3-64bit.deb irods-icommands-4.0.3-64bit.deb
RUN sudo apt-get -f install

ADD . /home/docker/hydroshare
WORKDIR /home/docker
Expand All @@ -8,13 +17,6 @@ RUN npm install carto
USER root
WORKDIR /home/docker/hydroshare

RUN apt-get install -y docker.io
RUN easy_install pip
RUN pip install django-autocomplete-light
RUN pip install django-jsonfield
RUN pip install docker-py
RUN pip install suds-jurko

RUN rm -rf /tmp/pip-build-root
RUN mkdir -p /var/run/sshd
RUN echo root:docker | chpasswd
Expand All @@ -25,6 +27,11 @@ RUN chown -R docker:docker /home/docker
RUN mkdir -p /tmp
RUN chmod 777 /tmp

# Cleanup iRODS install files
WORKDIR /home/docker
RUN rm irods-runtime-4.0.3-64bit.deb
RUN rm irods-icommands-4.0.3-64bit.deb

WORKDIR /home/docker/hydroshare

CMD /bin/bash
7 changes: 0 additions & 7 deletions Dockerfile.dev → Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ RUN npm install carto
USER root
WORKDIR /home/docker/hydroshare

RUN apt-get install -y docker.io
RUN easy_install pip
RUN pip install django-autocomplete-light
RUN pip install django-jsonfield
RUN pip install docker-py
RUN pip install suds-jurko

RUN rm -rf /tmp/pip-build-root
RUN mkdir -p /var/run/sshd
RUN echo root:docker | chpasswd
Expand Down
43 changes: 43 additions & 0 deletions deploy-hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/sh

# initiates a full build of hydroshare inlcuding hs_base if it does not already exist.

# set current working directory as CWD
CWD=$(pwd)

# get submodules
echo "### get git submodules ###"
git submodule init && git submodule update

# build hs_base if it does not exist
IID=$(docker images | grep hs_base | tr -s ' ' | cut -d ' ' -f 3)
if [ -z $IID ];
then
echo "### pull hs_base image from docker hub ###"
docker pull mjstealey/hs_base;
#echo "### build hs_base ###"
#pushd $CWD
#cd hs_docker_base
#docker build -t hs_base .
#popd;
else
echo "### hs_base already exists ###";
fi

# build docker contaiers defined by fig and bring them up
echo "### build docker containers as defined in fig.yml ###"
fig build
echo "### bring up all docker containers as defined in fig.yml ###"
fig up -d

# load pg.development.sql into postgis database
echo "### load clean pg.development.sql database from the running hydroshare container ###"
CID=$(docker ps -a | grep hydroshare_hydroshare_1 | cut -d ' ' -f 1)
docker exec $CID dropdb -U postgres -h postgis postgres
docker exec $CID createdb -U postgres -h postgis postgres
docker exec $CID psql -U postgres -h postgis -w -c 'create extension postgis;'
docker exec $CID psql -U postgres -h postgis -f pg.development.sql
docker exec $CID python manage.py makemigrations
docker exec $CID python manage.py migrate

echo "### complete ###"
8 changes: 4 additions & 4 deletions fig.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
postgis:
image: mjstealey/postgresql
#image: jamesbrink/postgresql
redis:
image: dockerfile/redis
image: redis:2.8.19
rabbitmq:
image: dockerfile/rabbitmq
image: rabbitmq:3.4.4
hydroshare:
build: .
environment:
Expand All @@ -19,10 +18,11 @@ hydroshare:
volumes:
# Use when NOT sharing the entire host hydroshare directory
#- "media:/home/docker/hydroshare/hydroshare/static/media"
# for VM
# Specific to hydro user on the hydrodev Xubuntu VM
- "/home/hydro/hydroshare:/home/docker/hydroshare"
# Specific to hydro user for pycharm debugging on hydrodev Xubuntu VM
#- "/home/hydro/pycharm-debug:/home/docker/pycharm-debug"
# - "/home/hydro/pycharm-debug:/home/docker/pycharm-debug"
ports:
- "1338:22"
- "8000:8000"
Expand Down
8 changes: 4 additions & 4 deletions fig.yml.dev
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
postgis:
image: mjstealey/postgresql
redis:
image: dockerfile/redis
rabbitmq:
image: dockerfile/rabbitmq
image: redis:2.8.19
rabbitmq:
image: rabbitmq:3.4.4
hydroshare:
build: .
environment:
Expand All @@ -29,7 +29,7 @@ hydroshare:
- postgis:postgis
- redis:redis
- rabbitmq:rabbitmq
command: python manage.py runserver 0.0.0.0:8000
command: /bin/bash init
defaultworker:
build: .
environment:
Expand Down
8 changes: 4 additions & 4 deletions fig.yml.prod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
postgis:
image: mjstealey/postgresql
redis:
image: dockerfile/redis
rabbitmq:
image: jamescarr/rabbitmq
image: redis:2.8.19
rabbitmq:
image: rabbitmq:3.4.4
hydroshare:
build: .
environment:
Expand All @@ -25,7 +25,7 @@ hydroshare:
- postgis:postgis
- redis:redis
- rabbitmq:rabbitmq
command: python manage.py runserver 0.0.0.0:8000
command: /bin/bash init
defaultworker:
build: .
environment:
Expand Down
Empty file modified ga_ows/migrations/0001_initial.py
100755 → 100644
Empty file.
106 changes: 0 additions & 106 deletions ga_ows/tastyhacks.py

This file was deleted.