Basis usage
Basis usage
π¦ Quick Start: Run RTC Locally
Let’s get you up and running with a local development instance of RTC in a few simple steps.
Prerequisites
- Docker & Docker Compose: Needed to run the database.
- Goose: A database migration tool. Download it here.
- RTC Binaries: Download the latest
rtcserver(the server) andrtcctl(the CLI control tool) from our Releases page.
Step-by-Step Guide
- Start the Database:
# Download our docker-compose file and run it
curl -O https://github.com/DesSolo/rtc/blob/master/docker-compose.d/docker-compose.yaml
docker-compose up -dThis will start a PostgreSQL database in the background.
- Setup the Database Schema:
# Download the migrations directory from the repository
# Then, apply the migrations using Goose
goose -dir ./migrations postgres "host=localhost port=5432 user=postgres password=postgres dbname=rtc sslmode=disable" upThis command creates all the necessary tables in your database.
- Configure and Run the Server:
# Get the example server configuration file
curl -O https://github.com/DesSolo/rtc/blob/master/examples/config.yaml
# Launch the server
./rtcserver- You’re all set! π
Open your browser and go to
http://localhost:8080/uito access the RTC management interface.
Default credentials: username admin password rtc
Last updated on