Deploy a Marketplace
Prerequisites
A server for hosting Ocean Marketplace. See this guide on creating a server.
Obtain API key for wanted network. See this guide for this.
Push your customized Ocean Market code to your Git repository
In case you customized the Ocean Market using the tutorial from this chapter (link), push your code to a Git repository.
Create a directory
Create a file with the name `.env`
If you already created the .env file as instructed in ...(link to customize the market chapter), you can skip this step, otherwise copy the below content into the `.env` file.
.env
Create a `Dockerfile` file and copy the below content into it.
In the following Dockerfile, replace <YOUR_GIT_REPO_URL> with the url of your Ocean Market fork repository or use "https://github.com/oceanprotocol/market.git" if you want to deploy the standard image of Ocean Market.
Dockerfile
Build a docker image
Start the marketplace
Last updated