1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-06-10 20:00:14 +02:00
docs/building-with-ocean/build-a-marketplace/deploying-market.md
Jamie Hewitt a43842953f
Porting marketplace launchpad content (#1063)
* Adding content for forking and customise and deploying marketplace

* removing mdx tags

* Adding FAQ page

* COnverting mdx to md in FAQ file

* Updating SUMMARY with new pages + creating readme for market creation guide

* Updating links

* Removing mdx tag from readme content

* Saving images

* Updating image paths

* Removing references to dynamic pricing from faq

* Removing liquidity pool question from faq

* Removing staking question from faq

* Removing references to staking

* Fixing images in forking ocean market guide

* Updating answer to roadmap question in FAQs

* Updating ocean market repo link

* Updating inmages & Removing references to pool envs

* updating link to deployed site

* Updating test in forking Ocean Market section
2022-07-27 17:55:47 +03:00

42 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Deployment of Ocean Market
order: 3
hideLanguageSelector: true
description: Step by step guide to a quick deployment of Ocean Market
featuredImage: images/creatures/mantaray/mantaray-full@2x.png
---
# 🔰 Quick deployment of Ocean Market
All thats left is for you to host your data marketplace and start sharing it with your future users.
## **Build and host your Data Marketplace**
To host your data marketplace, you need to run the build command:
```
npm run build
```
This takes a few minutes to run. While this is running, you can get prepared to host your new data marketplace. You have many options for hosting your data marketplace (including AWS S3, Vercel, Netlify and many more). In this guide, we will demonstrate how to host it with surge, which is completely free and very easy to use.
Open up a new terminal window and run the following command to install surge:
```
npm install --global surge
```
When this is complete, navigate back to the terminal window that is building your finished data marketplace. Once the build is completed, enter the following commands to enter the public directory and host it:
```
cd public
```
```
surge
```
If this is your first time using surge, you will be prompted to enter an email address and password to create a free account. It will ask you to confirm the directory that it is about to publish, check that you are in the market/public/ directory and press enter to proceed. Now it gives you the option to choose the domain that you want your project to be available on. We have chosen https://crypto-photos.surge.sh which is a free option. You can also set a CNAME value in your DNS to make use of your own custom domain.
After a few minutes, your upload will be complete, and youre ready to share your data marketplace. You can view the version we created in this guide [here](https://crypto-photos.surge.sh/).