This project was bootstrapped with Create React App.
Contains the SPA for viewing the orderbook on mainnet.
npm start
To deploy the website to http://orderbook.mainnet.sparkswap.com
:
- In the main directory run
npm run build
- This builds the app for production to the
build
folder
- This builds the app for production to the
- Make sure you are using the
sparkswap
team in thenow
clinow switch
then select thesparkswap
team
cd build && now
- Deploys using
now
- Deploys using
now alias <deploy_url> orderbook.mainnet.sparkswap.com
- The subdomain is already setup, so running this command will deploy the service to the subdomain