You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a simple cloud-init that clones this repo, configures PostgreSQL + Flask, and spins up the gender-decoder in a local container.
We use this heavily to analyze our public-facing job postings, but those aren't always made public straight away, so we needed a way to analyze the posts in draft before publishing. This is also being used to analyze local collateral.
There are a few hard-coded values that point back to the public gender-decoder, I'll PR those and patch those out in the jinja2 templates to make those tunables (specifically, the referral link to the analyzed content).
The cloud-init YAML below will..
Clone this repository's 'main' branch
Create and configure a simple PostgreSQL user
Install and configure the necessary Python dependencies of Flask
Launch Flask with the application listening on port :5000
To create and run this:
Create a local container (username is ubuntu, password is ubuntu)
I've created a simple cloud-init that clones this repo, configures PostgreSQL + Flask, and spins up the gender-decoder in a local container.
We use this heavily to analyze our public-facing job postings, but those aren't always made public straight away, so we needed a way to analyze the posts in draft before publishing. This is also being used to analyze local collateral.
There are a few hard-coded values that point back to the public gender-decoder, I'll PR those and patch those out in the jinja2 templates to make those tunables (specifically, the referral link to the analyzed content).
The cloud-init YAML below will..
To create and run this:
Create a local container (username is
ubuntu
, password isubuntu
)Give the container a few minutes to spin up and configure the various pieces
Find the container's IP, so you can reach the gender-decoder on :5000, using:
YAML included below:
The text was updated successfully, but these errors were encountered: