Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.56 KB

README.md

File metadata and controls

65 lines (46 loc) · 1.56 KB

SemApps

Minicourses

Build minicourses with image and texts and allow subscribers to receive them by email in the chosen frequency.

Capture d’écran de 2022-09-14 19-04-51

Getting started

Requirements:

  • Node (v14.16 minimum)
  • Yarn
  • Docker and docker-compose

Launch the backend

docker-compose up -d
yarn install
yarn run bootstrap
cd backend
yarn run dev

Moleculer will function in REPL mode. You should be able to type commands such as services and view the results.

Import base data

Import the base data by entering these commands:

call importer.status.freshImport
call importer.themes.freshImport

Launch the frontend

cd frontend
yarn install
yarn start

Linking to SemApps packages

To modify packages on the SemApps repository and see the changes before they are published, we recommend to use yarn link. The commands below will make this easier.

git clone [email protected]:assemblee-virtuelle/semapps.git
git checkout next # Minicourses currently use the packages published on the next branch
cd semapps/src/middleware
yarn run link-all
cd /MINICOURSES_REPO
yarn run link-semapps-packages

Integration tests

yarn install
yarn run bootstrap
yarn run test