Set up your local environment (with docker)
Prerequisites
The following procedure assumes you have docker installed on your machine
Docker environment
Clone project https://bitbucket.org/wediaproduct/docker-compose-template-gul/src/master/
This repository contains a docker compose template for running the whole WEDIA application.
Make sure to read the README.md.
It is recommended to use this repository as a template that you can easily update (git pull).
→ Do not run your project from this cloned repository.
Init a project environment
Follow these steps every time you need to setup a new environment:
Copy the docker-compose-template folder to your own projects folder:
Assuming you cloned the repository in~/git-repositories/wedia-docker-template
and you store your projects in~/projects
, and you want to start projectprojectWedia
cd ~ cp -R ./git-repositories/wedia-docker-template ./my-projects/projectWedia
Delete content of folders
san
,db
andadmin
:cd ~/my-projects/projectWedia rm -rf ./san/* rm -rf ./admin/* rm -rf ./db/*
Start the whole docker environment (assuming ports 8080, 8000, 8888, are not used)
docker compose up
At this point, your server is started, you can start configuring it manually.
Init environment using predefined script
In order to ease the basic configuration of the platform, we provide a JS project: https://bitbucket.org/wediaproduct/wedia_auto_installer/src/master/. Clone this repository, then:
First time, init the projectnpm i
Then you can finalize an environment configuration by running:
npm run config
Start a project environment
Follow these steps every time you need to switch from one environment to another:
stop all your containers
docker kill $(docker ps -q)
move to environment folder
cd ~/my-projects/projectWedia
start environment
docker compose up
Init security settings
Cloud environments
MediaCloud setup
Do not forget to ask for a MediaCloud Wedia ID to ESAAS team. This is a requirements for:
Artificial intelligence features
Players
Video transcriptions
Documents transcriptions
Email server setup
Do not forget to ask ESAAS team to configure the smtp server, and to make sure the cloud environment is allowed to connect this server.
Configure your DAM
Configure a fonctionnal DAM within 3 weeks
WEDIA recommand concentrating your efforts on the following points only, in order to set up a new functionnal DAM in 3 weeks.
1. Asset Metadata
Default Metadata structure is available here : Assets Structure
2. UI Design : Colors, logos, images and Emails templates
Follow the UI configuration checklist in order to brand your DAM : UI configuration checklist
3. Home Page
For Images slider setup : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2098430016/Homepage#background-sliding-images-as-a-dedicated-contribution
For widgets setup : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2098430016/Homepage#Widgets-area
For footer setup : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2098430016/Homepage#Footer-area
4. TOS acceptation
5. General Menu
For footer links setup, see : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2137915531/Main+Menu#Adding-footer-links-in-the-main-menu
6. Cursors Menu
For cursors setup, see : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2102132737/Header#Cursors
7. Top filter bar & advanced search
For search filters setup, see : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2119303590/Filter+bar#Configure-the-search-bar-for-a-given-context
For Advanced filters setup, see : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2124087299/Search+-+Advanced+Search#Advanced-Configuration
8. Display modes
For List Layout setup, see : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2119303349/Display+Modes#Configuring-metadata-displayed-in-the-list-layout-of-the-dam-explorer
9. Asset details
For Asset details setup, see : https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2148270879/Asset+details+page#Asset-details-area
DAM Configuration : go further
The product documentation gives information for each DAM pages about :
Fonctionnal defaut behaviour
Available configuration options and technical steps for the implementation
All the documentation is available under https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2116255749/Portal+screens+configuration