luisgov 9d781577c4 Update request form (#45)
* Implement OrganizationInfo form, add it to the template

* Format request_new

* Update "Details of Use" section

* Refactor request_new

* Added some new fields, but form is still WIP

* Add details of use fields

* Add org info fields

* Add some comments

* Add Financial Verification and more Details of Use fields

* Update some textarea fields to single text field

* WIP

* Implement OrganizationInfo form, add it to the template

* Format request_new

* Update "Details of Use" section

* Refactor request_new

* Added some new fields, but form is still WIP

* Add details of use fields

* Add org info fields

* Add some comments

* Add Financial Verification and more Details of Use fields

* Update some textarea fields to single text field

* Format

* Update fields with the correct fieldtypes

* Begin updating sidenav changes

* Split form into each section

* adjust and skip some outdated form validation tests

* break request form into multiple form objects

* need to send user ID to requests-queue

* use DateForm for start date in request

* alter request_new handler to pass raw form data to template

* change review form

* Add KO and COR section titles

* Update date input class name

* Add a special case for the summary form. We should refactor this

* Add read-only fields for review and submit section

* Add minimum number validators to request form

* Fix formatting

* Use html5 datepicker for dates

* Fix request form validators

* Finish org info form

* Finish POC form

* Finish financial verification form

* Move PE and UII to financial form

* Un-skip form validation test
2018-07-03 10:10:44 -04:00
2018-07-03 10:10:44 -04:00
2018-06-04 17:13:24 -04:00
2018-07-01 19:15:40 -04:00
2018-07-03 10:10:44 -04:00
2018-05-30 13:57:11 -04:00
2018-07-03 10:10:44 -04:00
2018-07-03 10:10:44 -04:00
2018-06-04 22:36:20 -04:00
2018-06-18 10:42:07 -04:00
2018-06-26 10:31:39 -04:00
2018-06-14 13:53:18 -04:00
2018-05-23 08:50:39 -04:00
2018-07-03 10:10:44 -04:00
2018-06-26 10:31:39 -04:00
2018-05-24 12:27:41 -04:00
2018-06-28 10:24:20 -04:00

ATST

Build Status

Installation

script/setup

The setup script installs pipenv, which is what this application uses to manage its dependences and virtualenv. Instead of the classic requirements.txt file, pipenv uses a Pipfile and Pipfile.lock, making it more similar to other modern package managers like yarn or mix.

To enter the virtualenv manually (a la source .venv/bin/activate):

pipenv shell

If you want to automatically load the virtual environment whenever you enter the project directory, take a look at direnv. An .envrc file is included in this repository. direnv will activate and deactivate virtualenvs for you when you enter and leave the directory.

Additionally, ATST requires a redis instance for session management. Have redis installed and running. By default, ATST will try to connect to a redis instance running on localhost on its default port, 6379.

Running (development)

To start the app and watch for changes:

DEBUG=1 script/server

Testing

To run unit tests:

script/test

or

python -m pytest

Notes

tornado templates are like mustache templates -- add the following to ~/.vim/filetype.vim for syntax highlighting:

:au BufRead *.html.to set filetype=mustache
Description
No description provided
Readme 17 MiB
Languages
Python 48.6%
HTML 43.1%
JavaScript 3.7%
SCSS 3.7%
Shell 0.8%
Other 0.1%