/ archiveofbelonging.org / back /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]api/2 years ago -  
[DIR]build/2 years ago -  
[DIR]components/2 years ago -  
[DIR]config/6 months ago -  
[DIR]extensions/2 years ago -  
[DIR]node_modules/2 years ago -  
[DIR]public/2 years ago -  
[TXT]README.md2 years ago7.4Kf12eb36 documentaiton updates [كارل مبارك]
[IMG]favicon.ico2 years ago3.6K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[   ]package-lock.json2 years ago573K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[   ]package.json2 years ago1.0K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[   ]yarn.lock2 years ago466K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
README.md

Backend

For the content management system (CMS), we are using Strapi .
The CMS is accessible at https://archiveofbelonging.org.

Using the CMS

🌍 Context

The CMS is hosted on this server which is provided by Greenhost. For now, I have dedicated 5GB of storage for this. If you would like more storage, please let me know.

There are two types of users on Strapi: admin and author/editor. As admin, Ilja and I can create content types, update the infrastructure, change the API, and create and delete users. As author and editor, you can upload files, create content, edit it, publish it, unpublish it and delete it.

You have recieved a link from me that will direct you to a page where you can authenticate your user. Please store your credentials.

🖥️ Environment

Once authenticated, you will be presented with the content management environment. On the top right, there are the buttons to log out and change the interface language. On the left side, there is a navigation menu with all the single types and collection types (more info below). The rest of the interface is the editing area. It changes based on the part of the navigation that you are in.

📄 Single Types

In Strapi, Single Types are only one entry.

Our only single entry in this project is the Info entry. It contains fields for the About page, a brief description for the Collections page, and a link to the public github repository where the code that runs the site will live.

Fields that have an arabic language counterpart are labelled with the field name in addition to the letters "AR". For exmaple: the 'AboutCollections' field contains a brief description for the collections page in English and 'AboutCollectionsAR' is for the same text in Arabic. This rule is followed everywhere in this project where a translation to Arabic is appropriate.

🗄️ Collection Types

In Strapi, Collection Types (not to be confused with our own 'Collections') contain many entries. When viewing a collection, you can view, filter, sort, search, create, edit, publish, unpublish or delete an entry.

Any data-type in the project that can be enumerated as a list is handled as a collection type:

Resources

These are the all the resources in the archive. Most fields are self-explanatory, and no arabic traslations are mandatory in this content-type. A few fields deserve an explanation:

Artworks

These are all the artworks in the archive. On the website, they are combined with the resources into one list. Again most fields are self-explanatory and follow the same rules as the Resources content-type. Some fields to note:

Tags & Locations

These are the content-types with which the resources and artworks have bi-directional relationships with. There are some extraneous fields that could be used later but some things to note are:

Collections

Although filtering using tags and locations is important, a more important way of orgaizing an archive is curation. The Collection content-type is a printable, curated, ordered list of resources and artworks that can be created in Strapi or on the website. Visitors making a collection on the website can also choose to submit it to Strapi for revision and publishing. The fields are:

✏️ Editing

All entries have different fields. Most of them are self-explanatory.

Some fields support rich text and are edited in Markdown. There is a built-in editor for rich text fields that will provide all the formatting options as buttons. When you select text and click the 'Bold' button, it will create the syntax that will make that text bold. To see how a rich text is going to be formatted on the website, you can click the Switch to Preview button on the upper right corner of the rich text editors.

Markdown cheat sheet: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet/.

When you want to include an image in a rich text, you can click the image icon on the editor and either choose a previously uploaded image, or upload a new one. This will paste a URL to the image in the text. You can see this in action on the entries that are already there.

If you'd like to include a video in the a rich text, please upload it to a third party provider and paste the appropriate iframe code into the rich text editor.

Please upload as many files as you like. The upload limit is set to 400mb per file at the moment.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80