Downloading and Running Your Project

Download your configured DevOur project and run it locally.

Prerequisites

Before downloading and running your project, ensure you have:

Download Methods

From the Web Dashboard

  1. Open your project in DevOur
  2. Find the version in the Versions list
  3. Click Create Bundle if the version's bundle hasn't been built yet, and wait for it to finish
  4. Click Download once the bundle is ready
  5. Extract the downloaded ZIP file to your desired location

From the CLI

The CLI provides a streamlined download experience:

devour fetch <projectId>

Replace <projectId> with your project ID from devour ls.

Download a specific version:

devour fetch --version 1.0.0

When the version doesn't have a bundle yet, devour fetch offers to build it first.

The CLI extracts files directly to your current directory. Create an empty directory first for a clean setup:

mkdir my-project
cd my-project
devour fetch <projectId>

For CLI installation instructions, see CLI Setup.

Running Your Project

After extracting or fetching your project, start it with Docker Compose:

docker compose up -d --force-recreate --build

This command:

Initial build may take several minutes. Subsequent starts are faster.

To build the frontend for production:

docker build --target production -t your_project_client ./client

Accessing Your Application

Once running, access your application at:

Project Structure

Your downloaded project contains:

my-project/
├── client/           # React frontend application
├── server/           # API server
├── docker-compose.yml
└── devour.json       # Project configuration

Customizing Your Project

Once downloaded, the project is yours to modify freely. You can:

DevOur generates a starting point; how you extend it is entirely up to you.

Stopping Your Project

Stop all running containers:

docker compose down

Stop and remove volumes (deletes database data):

docker compose down -v

Updating Your Project

When you make changes in DevOur and create a new version:

  1. Stop running containers: docker compose down
  2. Back up any local modifications
  3. Remove old containers and images (optional but recommended):
    docker compose rm -f
    docker image prune -a --filter "label=com.docker.compose.project"
    
  4. Download the new version
  5. Restart with docker compose up -d --force-recreate --build

Troubleshooting

Containers fail to start: Check Docker is running and port 3009 is available, or pick another port for the frontend in docker-compose.yml. Run docker compose logs to see error details.

Database connection errors: For the default PostgreSQL container, ensure it's healthy before the server starts. The compose file includes health checks, but initial startup may require patience. For external databases, verify your connection string, ensure the database server is accessible from your machine, and check that firewall rules allow the connection.

Authentication not working: Verify your Firebase configuration in project settings. The service account JSON must have the correct permissions.

Payment features not working: Confirm your Stripe keys are correctly configured and products are synced from Stripe.

Related Documentation