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

Docker Curriculum #4

Closed
TangoYankee opened this issue Dec 8, 2018 · 0 comments
Closed

Docker Curriculum #4

TangoYankee opened this issue Dec 8, 2018 · 0 comments

Comments

@TangoYankee
Copy link
Member

An intro for the confused: Docker Curriculum

@theecrit theecrit mentioned this issue Mar 10, 2019
7 tasks
TangoYankee added a commit that referenced this issue Jul 4, 2019
* BUG: local setup used postgres, switch to mdillon/postgis

* MAINT: Alphabetize docker-compose elements

* Updated Travis scripts

- We now pull images prior to building. This helps avoid wasting time completely rebuilding the app container.
- Added test to ensure migrations have been generated, and run properly.
- We wait for the database to become available before running Django management commands

* WIP: Add database to the app (#11)

* Database schema added to models.py + admin interface
* Added factories for testing

And many others

* Add S3 storage

* Added env vars to prod docker-compose, made s3 storage optional

* add migration

* Update how storage settings are handled by default

* Added joiner scripts

* Update requirements

* Tests dustrak joiner, load dustrak accepts file handles

* Tests for dustrak joiner functionality, add timezones to factories

* Added test data files for dustrak joiner

* Use pytest fixtures to avoid code duplication

* address pylint W0621, remove extra save, test database save on values

* edit test_save docstring

* remove pytest fixture. remove suppression of pylint warnings (#18)

* Basic session upload form with user login

* Upload joins air and GPS files and saves Data entries

* Docstring to upload view

* Informative error message when dustrak of GPS file cannot be parsed

* Refactor dustrak load and join functions (#22)

Loaders take file contents as inputs, joiner takes pandas DataFrames

* Added choices attribute to unit field under sensor

* Added changes mentioned in PR such as the correct formats and micrograms charset

* Fixed migration issue and changed micro to non pep-8 form

* Fixed u error

* Fixed quality errors

* Fixed whitespace error

* refractor r-b-g-b/upload-form

* light linting

* Added lat/lon to unit_choices dropdown

* Fixed quality error

* replace files with upload

* Changed dropdown latitude/longitude to latlong

* Changed latitude/longitude to latlong

* Added migration file

* Changed latitude/longitude

* Added migrations

* general package update

* R b g b/schema rework (#26)

* Reset migrations, edit model and factory
* Reflect schema changes in tests
* Use faker to make latlong, test factories
* Removed unused DataFactory

* rebase and reorder imports

* TODOs from linting messages and a code review

* additional TODO messages, for forms and views

* light edits to comments and implement @login_required

* Removed unneeded error messages and redundant redirects in views. Included model calls in try-catch. Suggested removal of hardcoding sensor values.

* Use current versions of dustrak and gps loaders in upload view

* test_dustrak should simulate binary file re-encoded as utf-8

* Remove unused imports

* Remove one more

* remove todos and place them in github issues

* make database errors in views more specific

* address code review

* add a user input for timezone. pass to view

* add i18n to handle language code

* combine form classes into one. add logging line

* exit code earlier. narrow which errors are caught

* Update issue templates

Create issues templates

* Added hints to help with local file logging

* Added numpy to Pipfile

* contributing documents (#60)

* contributing documents

* remove contributing frontmatter

* links

fix hyperlinks

* resolve concerns from code review

* rename custom to app (#73)

* Updated text under Organizations and Project Description. (#72)

* correct import of Foundation 6 CDN (#75)

* Using latest version of Debian as Docker base

Jessie is EOL. Rather than pinning to a specific version of Debian, we will use the latest version. None of our code is OS-dependent, so this should not be an issue.

Fixes #77

* Updated the Issues section of the contribution.md.

* Navigation Bar (#80)

* correct import of Foundation 6 CDN

* create a responsive navigation bar

* add custom styling to navigation bar

* enlarge nav font

* remove commented code

* navigation bar

* Organize technical docs (#82)

* Swap email contact. Add testing to workflow (#86)

* Issues #83 and #84. Swap email contact. Add testing to feature request template and contributing.md

* remove errant carrot from email address in contrib

* redirect index url to upload page (#85)

* redirect index url to upload page

* give upload page the root url. delete template and url for index page

* delete index view

* Signin page styling (#87)

* localize button styling to top bar, customize proportions and colors of sign in form

* refactor to foundation grid. add toggle password

* Ty/minimum custom styling (#93)

* remove most custom styling. adjust header tags for accessibility. Adjust grid of signin page

* adjust password labels

* fix navigation header typo

* Password management: reset and change (#100)

* localize button styling to top bar, customize proportions and colors of sign in form

* refactor to foundation grid. add toggle password

* Ty/minimum custom styling (#93)

* remove most custom styling. adjust header tags for accessibility. Adjust grid of signin page

* adjust password labels

* fix navigation header typo

* change login form label from "username" to "password"

* link and style templates to change and reset user passwords

* hard code localhost in email. make contractions full words

* consistent nav capitalization

* Added visual style guide link.

* Copy changes

Readme copy changes to spotlight contributing options per #105; contributing.md copy changes to simplify and clarify per #105, and make headers consistently sentence case.

* Added Python 3.0 clarification

Ibid.

* Use markdown for readme formatting

* Bump django from 2.1.7 to 2.1.9 (#110)

Bumps [django](https://github.com/django/django) from 2.1.7 to 2.1.9.
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@2.1.7...2.1.9)

Signed-off-by: dependabot[bot] <support@github.com>

* Upload files to database, no drag and drop (#109)

* one field for each type of file

* modify database

* separate the upload of csv and gps data. modify views and database accordingly

* documenting, linting, testing

* changes from code review (#111)

* create mulitple returns from view, disable no-else-return (#112)

* update pipfile to new django version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant