GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - openmultiplayer/web: The open.mp web services monorepo. Homepage, documentation, server index, and more! All in one place.

BranchesTags
Open more actions menu

Latest commit

 

History

5,087 Commits
5,087 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
app
app
 
 
cmd/server
cmd/server
 
 
frontend
frontend
 
 
internal
internal
 
 
prisma
prisma
 
 
.DS_Store
.DS_Store
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.vercelignore
.vercelignore
 
 
CODEOWNERS
CODEOWNERS
 
 
Dockerfile
Dockerfile
 
 
Dockerfile.frontend
Dockerfile.frontend
 
 
README.md
README.md
 
 
Taskfile.yml
Taskfile.yml
 
 
docker-compose.yml
docker-compose.yml
 
 
fly.toml
fly.toml
 
 
frontend.fly.toml
frontend.fly.toml
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
types.go
types.go
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

open.mp multiplayer game framework

Wiki | Discord

A multiplayer mod for Grand Theft Auto: San Andreas that is fully backwards compatible with San Andreas Multiplayer.

open.mp


open.mp Web Services

This monorepo contains the web services and documentation for open.mp and SA-MP.

Overview

  • frontend/docs/ Wiki documentation for SA-MP and open.mp in Markdown format. Translations at frontend/i18n/.
  • frontend/ Docusaurus site for https://open.mp and its documentation. See frontend/README.md for a guide on contributing to the docs.
  • prisma/ Prisma database models for generating Go code and SQL migrations.
  • app/ Backend API for server listings, accounts, etc.

Frontend Development

To work on the frontend, you mostly only need to focus on the frontend/ directory. Run npm commands in there such as npm run dev. See the readme file in there for more details.

.env is not used for frontend development.

Backend/Full Stack Development

When working on the backend, the root of the repository is where you need to be. The server application will assume it's being run from the root, not from within cmd/.

To start the API server, use Taskfile and run task, the default task is to build and run the API server.

The frontend, by default, only uses the live API. To change this you must edit any URLs from https://api.open.mp/... to http://localhost/....

You can run the following command to get a minimal development environment ready:

docker-compose -f .\docker-compose.dev.yml up -d

The .dev.yml Compose configuration contains services that aren't secure or production ready and suitable for local testing.

Deployment

The frontend is deployed directly to Vercel from the master branch.

The backend is deployed to a server from the master branch using the docker-compose.yml file. You can simulate a production deployment by running docker-compose up.

Uploading Assets

We host large static assets such as images and videos on an S3-compatible object storage. This runs at assets.open.mp and you can use the task upload-assets to upload all public assets from frontend/public.

The easiest way to do this is via the Minio client. Once installed, set up an alias called omp:

mc alias set omp https://assets.open.mp ACCESS_KEY SECRET_KEY

Replace the two keys with the real keys.

Then run the task:

task upload-assets

About

The open.mp web services monorepo. Homepage, documentation, server index, and more! All in one place.

open.mp/

Topics

autograndhacktoberfestmultiplayerompopen-mpopenmpopenmultiplayersa-mpsampsan-andreassanandreasservertehft

Resources

Readme
Activity
Custom properties

Stars

144 stars

Watchers

12 watching

Forks

498 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.