[DO NOT MERGE] Feature/3869 commissioner document feed #4008
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Impacted areas of the application
Screenshots
Default listing page

Administering an item, category list

Related PRs
None
How to test
Strap in, this one's involved.
May be good to include a pre-set db for this testing (so we don't have to create test items) but right now we'll dupe your local db, switch to the duped db, do the migration(s), create some items, test things, then change back to the previous db.
echo $DATABASE_URL
postgresql://:@/
. that's the name of the db you're currently using. I think we're all usingcfdm_cms_test
db_test_comm_items
createdb -T cfdm_cms_test db_test_comm_items
(changecfdm_cms_test
to your current db, changedb_test_comm_items
to your new temp db nameexport DATABASE_URL=postgresql://:@/db_test_comm_items
(changedb_test_comm_items
to your new temp db name)pip install -r requirements.txt
(in the root directory of the repo. For me it's fec-cms)npm i
(optional. probably not necessary but won't hurt)npm run build
(optional. probably not necessary but won't hurt)cd fec
./manage.py makemigrations
./manage.py migrate
./manage.py runserver
Feels like I'm forgetting something.
Optionally add a link to the main commissioner page:
<a class="button--cta button--go" href="./statements-and-opinions/">Explore all statements and opinions</a>
where you'd like the button to appear (link will work for any commissioner)To change back to your non-temp db:
export DATABASE_URL=postgresql://:@/cfdm_cms_test
(changecfdm_cms_test
to your original db name)⨂ ⨂ ⨂ DO NOT MERGE ⨂ ⨂ ⨂
TODO: