Deployment Steps

1 Basic environment preparation

# Required Tools  
- Node.js v18+ (LTS recommended)  
- npm v9+ or Yarn v1.22+  
- Git  

# Verify installations  
node -v && npm -v  

2 Get front-end code

git clone https://github.com/ethereumfair/opendex.git
cd opendex

3 Install dependencies

npm install  
# OR  
yarn install

4 Start the development server

npm run serve  
# Access via http://localhost:8080  

5 Build the production environment

6 Deploy to local server

Recommended Nginx configuration example:

Restart Nginx after configuration:

Last updated