fecfile-image-generator's People
fecfile-image-generator's Issues
Deploy fecfile-image-generator to cloud.gov
Set up deployment of fecfile-image-generator to Cloud.gov
Issues that will/may need addressing
- Use of AWS SQS service. Queue service will need an equivalent in Cloud.gov.
- Use of local file system to write temporary files. Need to verify local file system is only used briefly as a local cache per https://12factor.net/processes.
- Installation of PDFtk binary on server. https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
- Is the wkhtmltopdf tool still being used or was it replaced by PDFtk?
Note
This ticket does not include set up of an AWS SQS alternative service.
Acceptance Criteria
Responses from the server when these URLs are entered into a browser address after CircleCI deploys to the space:
- Development server: https://fecfile-image-generator-dev.app.cloud.gov/v1/app-name
- Stage server: https://fecfile-image-generator-stage.app.cloud.gov/v1/app-name
- Production server: https://fecfile-image-generator-prod.app.cloud.gov/v1/app-name
QA
This ticket is to simply get the code to deploy to the Cloud.gov environments. There are known issues with the actual code which are to be addressed in future tickets. To verify the code has been deployed, you can view "fecfile-image-generator" on a page in the links in the Acceptance Criteria above.
Rename fecfile-ImageGenerator repo
#Consideration
To keep things consistent with the rest of the FEC repos, could we rename this repo to fecfile-image-generator (instead of a capitals I & V, and add a -
)?
#Possible complications
Would this break anything? -- We renamed the fecfile-online repo to fecfile-web-app on Jan. 18 and have not uncovered any problems related to the name change yet. ZenHub handled the change gracefully.
Acceptance Criteria
- The name of the image generator GitHub repo is: fecfile-image-generator
Fix linting errors
Python linting errors remain (see CircleCI output) - we should fix them so we don't create new problems.
Set up CircleCI and SonarCloud for fecfile-image-generator repo
For CircleCI, set up the .circleci/config.yml with:
- dependency-check
- unit-test
Setup SonarCloud communication with fecfile-image-generator GitHub account.
Acceptance Criteria
- CircleCI reports in CircleCI dashboard for repo
- CircleCI report in GitHub when branch committed
- SonarCloud report in GitHub when branch committed
Update python version to 3.8 to match fecfile-web-api
We're currently running python 3.8 for the fecfile-web-api so we should update to keep the apps running on the same python version
Make deploy conditional on other automated checks
Code shouldn't deploy until automated checks pass.
Business Reason
As a [role], I will be able to [blank] so that I can [business reason]
Acceptance Criteria
If [precedent]
When [action]
Then [result]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.