Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • stop all your containers

    Code Block
    languagebash
    docker kill $(docker ps -q)
  • move to environment folder

    Code Block
    languagebash
    cd ~/my-projects/projectWedia
  • start environment

    Code Block
    languagebash
    docker compose up

Init security settings

Security settings are initialized from the PACKAGED_Security plugin:

From <your wedia server>/admin/plugin/view?action=edit&name=PACKAGED_Security

  • Browse to Business Services tab

  • Open the swagger doc for com.wedia.packaged.security.extensions.PackagedSecurityAdminApi

  • Open /api/packaged/admin/security/update

  • Click Try it out

  • Click Execute

Initializing the portal application

To prepare the portal application, you need to clone the wediaproduct / portal repository

Once done, you will need to setup some basic information.

Make sure you are running on the appropriate node version (16)

run the following command

Code Block
npm run wediaportal -- init

This will create a .wediaportalrc file at the root of your project.

You will need to adapt generated content for your project.

Note

The .wediaportalrc file replaces .env files that were used before.

If you are migrating from a previous version of the portal without a .wediaportalrc file, you can automatically generate the .wediaportalrc file based on your .env files

npm run wediaportal -- restore

Cloud environments

MediaCloud setup

...