Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Run
Service
Docker
To run the API inside Docker, follow the instructions in the general setup guide.
On the host
Prerequisites
Steps
Create environment variables from the stencil file.
ov just envInstall Python dependencies.
ov just installStart the Django dev server.
ov just api/dj runserver
Django admin
You can view the custom administration views at the /admin/ endpoint. You can
use the username 'deploy' and password 'deploy' to log in.
Configuration
All configuration is performed through environment variables. See the
env.template file for a comprehensive list of all environment variables. The
ones with sane defaults have been commented out.
- Pipenv will automatically load
.envfiles when running commands withpipenv run. - Docker Compose will automatically load
.env.dockerfiles inside the container.