Skip to content

enBloc-org/arebyte-plugin-backend

Repository files navigation

Arebyte-plugin-backend

This repo holds the codebase for the content management system to the arebyte plugin.

Getting started

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.

Running the system configuration migration

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

The flow:

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

Creating Admin Users

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

Data importing and exporting for development

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.

Login details for test users

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.

Further reading

For more guidance on the setup of this repo see the following documentation:

About

Strapi backend for Arebyte Plugin V4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published