- NodeJS
- MySQL
- NodeJS v12
- MySQL 8
- Pusher
# Install dependencies
npm install
# Run migrations
npm run migrate
# Seed data
npm run seed
# Run express server (run the server)
npm run watch
# Run web3 worker (listen for on-chain events)
npm run listen
# Run fallback worker (fill missing events, close finished auctions, mark collectables as sold out)
npm run fallback
# Set user's password (don't do this unless you want to grant admin dashboard access)
npm run user -- --id={id} --password="password"
pm2 startOrRestart ./config/ecosystem.json
Setup a cronjob to run "npm run fallback" every 10 min.
Update .env manually in /var/www/api.seen.haus/webdir/source
as root user.