Skip to content

Containerized environment for ambweb/ambp3cilent

Notifications You must be signed in to change notification settings

dio99/amb-docker

 
 

Repository files navigation

amb-docker

Containerized environment for ambweb/ambp3cilent

Usage

Clone this repository and run:

git submodule init; git submodule update
docker-compose up --build -d

======= setup ==============

  1. DB

create MySQL data dir

mkdir -p ./mysql-datadir/ambweb mkdir -p ./mysql-datadir/karts

create .env file

cp .env_db.example .env_karts_db cp .env_db.example .env_ambweb_db

  1. ambweb

configure - ambweb/meta_settings.py mkdir ./AMBWEB_LOG

  1. amb_laps

cp conf.yaml local_conf.yaml vim local_conf.yaml # update missing options

======== restore =================

mysql -P 3307 -p -h 127.0.0.1 karts < ambp3client/schema

======= notes =========

any cahnge to .env_db should be ignored

git update-index --skip-worktree .env_db

RUNING TEST SERVER

cd ambp3client
python3 -m venv venv
source venv/bin/activate
./test_server/test_server.py test_server/amb.out

About

Containerized environment for ambweb/ambp3cilent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%