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

Getting Flask working #5

Open
1 of 8 tasks
e-koch opened this issue Jun 27, 2016 · 2 comments
Open
1 of 8 tasks

Getting Flask working #5

e-koch opened this issue Jun 27, 2016 · 2 comments

Comments

@e-koch
Copy link
Member

e-koch commented Jun 27, 2016

The list of things that still need to be addressed in the Flask app:

  • Running on AWS beanstalk - deploys w/o issues, but doesn't connect to the Flask app. Here's an example of a very basic beanstalk app.
  • Tests for beanstalk (see Unit tests #1) - we can setup beanstalk to run periodic tests. There is already a test script for running the processing, but adding some basic tests (b/c of how many parameters there can be) for the actual web app would also great.
  • Login and users - we need some way of restricting access/recording user activity. This requires setting up a small database on AWS (example)
  • Email service - send email to user w/ link to S3 bucket for downloading. We should use SES since it's pretty much free for the extent of our usage.
  • User-restricted access to output data & time-limits - Output data has to be accessible to only the registered user, and needs to have a time-limit so we can auto-delete data. This sort of goes through assigning custom IAM roles. This one is a bit more specific for S3 buckets.
  • Delete the input data upon finishing the processing - easy, just needs to be coded in
  • Get the input form working - There's an outline of all of the parameters (up until ~ February's changes). I was trying to get add some javascript so certain forms are hidden when others are not toggled. It shows them when toggled the first time, but won't hide them again when untoggled.
  • Starting the processing - the example script needs to be converted into a function. Monitoring of the processing should be done asynchronously, and using @celery.task might be the easiest way to do that (https://github.com/paltman-archive/django-pdf/blob/master/pdf/tasks.py)
@e-koch
Copy link
Member Author

e-koch commented Jun 27, 2016

  • Maximum computing time allowed in each request?

@e-koch
Copy link
Member Author

e-koch commented Nov 7, 2016

  • Add user info into database - max time, resources used (limit to $ that can be used), email, name, institution,
  • Email verification for users so SES can send emails to them

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