cd nextjs
- Install node dependencies:
npm install
- Set up environment variables:
cp .env.local.example .env.local
- Run project:
npm run dev
- Set up environment variables (see below)
cd backend
- Install python dependencies:
pip install -r requirements.txt
- Migrate database:
python manage.py migrate
- Create an admin user:
python manage.py createsuperuser
- Run server:
python manage.py runserver
You need to export the following environment variables for the backend:
OPENSEA_API_KEY
- Visit /admin/ on the server to access admin panel
- Collections of domains can be managed here
There's a background task runner that pulls data from various sources.
- Run
python manage.py process_tasks
to start the task runner