This repo holds the codebase for the content management system to the arebyte plugin.
The codebase uses strapi to create a CMS. To get started with contributing to the code base you can simply run the following commands:
npm install
npm run develop
For a deeper dive into developing with Strapi see the official documentation linked above.
In order to keep out Strapi backend in sync across different environments we are using the Config Sync plugin by auto-generating configuration files.
To make this easier see the script in the package.json
If you have change configuration or permission settings you need to run the command:
npm run cs export
After you merge new changes:
npm run cs import
Before you import the seed data please create two admin user with the role content-creators in the setting/administration
panel.
They should have the follow information
first name: Amelia
last name: Flores
username: amelia_flores
email: [email protected]
password: Art1Test
first name: Charlie
last name: Radical
username: charlie_radical
email: [email protected]
password: Art2Test
As part of this project the development team has created a migration file to allow for consistent data for development and testing. This file will be included in any handover for this project, so please look there for the relevant file.
To import the this file once you have the project up and running run:
npm run strapi import -- -f /path/to/my/file/arebyte-test-data.tar.gz
If for any reason you want to export updated versions of the data please read the official documentation on how to do so here.
There are two authenticated users as part of this development data, to use them during development please use the following credentials:
username: UserOne
email: [email protected]
password: User1Test
username: UserTwo
email: [email protected]
password: User2Test
To use these credential for testing please see testing.
For more guidance on the setup of this repo see the following documentation: