### Development Quickstart Source: https://github.com/bluesky-social/ozone/blob/main/README.md Starts the Ozone development server using npm or yarn. Requires Node.js v20 and yarn. ```javascript npm run dev # or yarn dev ``` -------------------------------- ### Docker Quickstart Source: https://github.com/bluesky-social/ozone/blob/main/README.md Builds the Ozone Docker image and runs the container, exposing the application on port 3000. ```bash # build image docker build -t ozone . # run the image docker run -p 3000:3000 ozone ``` -------------------------------- ### Verify Docker Installation Source: https://github.com/bluesky-social/ozone/blob/main/HOSTING.md Runs a simple 'hello-world' container to confirm Docker is installed and functioning correctly. ```bash sudo docker run hello-world ``` -------------------------------- ### Manage Ozone systemd Service Source: https://github.com/bluesky-social/ozone/blob/main/HOSTING.md Commands to reload the systemd daemon, enable the Ozone service to start on boot, and start the service. ```bash sudo systemctl daemon-reload sudo systemctl enable ozone sudo systemctl start ozone ``` -------------------------------- ### Local Development Setup Commands Source: https://github.com/bluesky-social/ozone/blob/main/HACKING.md Commands to set up a local development environment for Ozone, including running the PDS dev server and the Ozone frontend. ```bash yarn workspace @atproto/dev-env start ``` ```bash yarn dev ``` -------------------------------- ### Install Docker CE on Ubuntu 22.04 Source: https://github.com/bluesky-social/ozone/blob/main/HOSTING.md Installs Docker Community Edition (CE) on Ubuntu 22.04. This process involves uninstalling old versions, setting up the Docker repository, and installing the necessary Docker packages. ```bash sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update sudo apt-get install \ ca-certificates \ curl \ jq \ openssl \ xxd \ gnupg sudo install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg sudo chmod a+r /etc/apt/keyrings/docker.gpg echo \ "deb [arch=\"$(dpkg --print-architecture)\" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ \"$(. /etc/os-release && echo \"$VERSION_CODENAME\")\" stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin ``` -------------------------------- ### Create systemd Service for Ozone Source: https://github.com/bluesky-social/ozone/blob/main/HOSTING.md Defines a systemd service unit to manage the Ozone Docker containers, allowing for easy starting, stopping, and status checking. ```bash cat <