oceanprotocol / df-web

https://df.oceandao.org/
0 stars 4 forks source link

banner

df-web

🏄 Get Started

Clone project and setup environment variables:

git clone git@github.com:oceanprotocol/df-web.git
cd df-web/

# copy and setup environment variables
cp .env.example .env

Then start the development version of the app by using either Docker, or your local system:

# using Docker
docker-compose up

# or using local system
npm install
npm run dev

Navigate to localhost:8080. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

You may also need to update the following files to configure your environment:

🛳 Production

To create an optimised version of the app:

npm run build

⬆️ Deployment

Every Pull Request gets its own preview build via Vercel's GitHub integration.

The main branch is always deployed to df-web-oceanprotocol.vercel.app.

Live deployments happen...