Skip to content

oscartbeaumont/cityscale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cityscale

Warning

This project is in early development. It may not have all documented features and it's web UI is still very ugly.

The MySQL database platform for side projects.

Features

  • Create database and users from web UI
  • Create and merge database branches (similar to Planetscale)
  • Create and manage database backups to S3-compatible storage
  • Edge runtime support via full compatibility with @planetscale/database-js
  • Cheap to and easy to operate (one click deploy for less than 5$ a month on Railway)

Dashboard

Cityscale comes with a web dashboard to manage your databases.

Cityscale Dashboard

Deployment Guide

Railway

Warning

Coming soon...

Docker

You can deploy to any server with Docker installed using the following command:

docker volume create cityscale-data
docker run -d -p 2489:2489 -p 3306:3306 -v cityscale-data:/data ghcr.io/oscartbeaumont/cityscale:latest

Now to go to http://localhost:2489 and you should be able to login with the default credentials (username and password both admin).

Development

To develop Cityscale you must have Rust, Docker, pnpm and Node.js installed.

pnpm -C web install
./dev.sh run