Documentation
  • 👋Welcome to Cerberus
  • Overview
    • 💡What we do
    • ✨Our Features
  • Product Guides
    • 💡Core concepts
    • 🍎Creating an App
    • 📎Modeling your domain
    • 📄Creating policies
  • Tutorial
    • 🛠️Getting set up
      • 🌠Cloning project
      • 👷Setting up workspace
      • 🏃‍♂️Build and run app
    • 📏Creating static rules
      • Create an account
      • Add migrations
    • ✍️Implementation
      • Backend
        • Migrate existing data
        • Routes
        • Services
          • User
          • Project
          • Sprint
          • Story
      • Frontend
        • Settings
        • Projects
        • Sprints
        • Stories
  • APIs
    • 🎨REST API
    • 🖥️Websocket API
  • Migrations
    • 🐧Scripting language
    • 🏃‍♂️Running migrations
Powered by GitBook
On this page
  1. Tutorial
  2. Getting set up

Build and run app

PreviousSetting up workspaceNextCreating static rules

Last updated 2 years ago

Change to the cloned project directory and open two tabs.

In the first tab change to the folder './backend/go'.

Copy the '.env.example' file to '.env' and change the JWT_SECRET variable to your own secret.

Then start the app with docker:

docker-compose build
docker-compose up

This will start up the backend, listening on port 8081

In the second tab change to the folder './frontend/react', and start the app with npm:

npm start

This will start the react frontend on port 3001

Open a browser and navigate to

Register a user, and start playing around in the app to get a feeling for how it works.

🛠️
🏃‍♂️
localhost:3001