Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions ADMIN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## Using the admin CMS

### Relational dependancies

`Disease cell lines` reference:

1. `Modeled diseases`
2. `Cell lines`

`Modeled diseases` reference

1. `Gene names`

`Cell lines` reference

1. `Gene names`

![Untitled](https://github.com/allen-cell-animated/cell-catalog/assets/5170636/7625a706-1c26-437d-850a-9ea494ee5a81)


1. **Login to the Admin CMS**: Open your web browser and navigate to the admin CMS URL. Use github to sign in.

## Adding new Disease through the admin CMS
2. **Before you start**: Before you add a new disease cell line you need to make sure you have already added:
1. **the disease** the cell line is modeling. If you it is not yet in the database, go to the section on adding a disease and then continue here.
2. **the parental/base cell line**. If it is not yet in the database, go to the section on adding a cell line and then continue here.

3. **Add New Disease Cell Line**: Click the button "Add new disease cell line"

4. **Enter Disease Cell Line Details**: If this cell line is not ready to be on the website, leave the status as is.

5. **Save the New Disease Cell Line**: From the "Publish" dropdown click "Publish now"

## Adding new Disease through the admin CMS
1. **Before you start**: Before you add a new disease you need to make sure you have already added **the gene** the disease model is based on. If you it is not yet in the database, go to the section on adding a gene and then continue here.

## Adding new Normal Cell Line through the admin CMS
1. **Before you start**: Before you add a new disease you need to make sure you have already added **the gene** the disease model is based on. If you it is not yet in the database, go to the section on adding a gene and then continue here.

2. **Add new Normal Cell Line**: Go to the cell line section, click the button "Add new cell line"
5. **Save the Normal Cell Line**: From the "Publish" dropdown click "Publish now"

## Adding new Gene through the admin CMS
1. Click on **Gene and structures names** and click on "New Gene and structure name" or select it from the "Quick add" menu
2. Add the gene symbol and gene name
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ Media Libraries have been included in this starter as a default.

Contributions are always welcome, no matter how large or small. Before contributing,
please read the [code of conduct](CODE_OF_CONDUCT.md).
Read [development instructions](CONTRIBUTING.md) to run the app locally.

## Development
See [contributing guide](CONTRIBUTING.md)

## Changes to the content
see [admin guide](ADMIN.md)
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
],
"license": "MIT",
"main": "n/a",
"resolutions": {
"@types/react": "18.0.28"
},
"scripts": {
"clean": "gatsby clean",
"start": "npm run develop",
Expand All @@ -68,4 +71,4 @@
"engines": {
"node": ">= 18.15.0"
}
}
}