apostrophecms / docs

ApostropheCMS documentation.
MIT License
4 stars 14 forks source link

Add direct database access page #270

Closed BoDonkey closed 1 year ago

BoDonkey commented 1 year ago

Summary

Summarize the changes briefly, including which issue/ticket this resolves. If it closes an existing Github issue, include "Closes #[issue number]" This PR adds a page to the guide covering direct access to the MongoDB. Closes PRO-3241. Note, the content in this PR differs slightly from the Linear ticket. The linear ticket ignored some previously written documentation, so the scope of this PR is more narrow.

What are the specific steps to test this change?

For example:

  1. Run the website and log in as an admin
  2. Open a piece manager modal and select several pieces
  3. Click the "Archive" button on the top left of the manager and confirm that it should proceed
  4. Check that all pieces have been archived properly
  1. Build the documentation.
  2. Navigate to /guide/database-access.html

What kind of change does this PR introduce?

(Check at least one)

Make sure the PR fulfills these requirements:

If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

linear[bot] commented 1 year ago
PRO-3241 Document how to work with Apostrophe's server-side model layer

This is something we have for A2 and have received some requests from customers about. * How to work with Apostrophe’s server-side model layer, generally (find stuff, insert stuff, update stuff), which is a topic that command line tasks illustrate well, but also comes up in writing routes and components (suggested by @tom)