Marketplace
How to build your own marketplace
To create your own marketplace, you need to follow these steps:
- Install yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
apt-get update
apt-get install -y yarn
- Clone the OpenNebula appmarket-simple repository
git clone https://github.com/OpenNebula/appmarket-simple.git /opt/appmarket-simple
- Install the dependencies
yarn --cwd /opt/appmarket-simple/src/public/react/ install
-
Comment line 2 and uncomment line 1 to
src/public/react/src/constants/endpoints.js
-
Build the frontend
yarn --cwd /opt/appmarket-simple/src/public/react/ build