Skip to content

🏰 A release integration repo for all MUR components

License

Notifications You must be signed in to change notification settings

messiah-of-ur/mur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏰 Messiah of Ur

It's time to revive ancient game of Ur. This repo acts as a simple way to integrate Mur components and deploy it on your local machine.

Prerequisites

You need the following installed:

  • 🐁 go
  • direnv (for *nix only)
  • 🐍 python3
  • pip & pipenv
  • psql (download here) (if under Windows, make sure psql.exe is in PATH)

Deployment under 🐧 🍎 *nix

Prepare pipenv

git submodule update --recursive --init

# Setup the envars if you don't have direnv installed
source .envrc

# Install the dependencies
pipenv install

# Open the python virtual environment
pipenv shell

πŸ™€ Murker

# Start a few murkers (an instance is started on each port).
python3 job/main.py murker deploy -ports 9000 9001 -murabi-port 8080

# Check for their existence.
sudo lsof -i -P -n | grep LISTEN

# You can kill the murkers with.
python3 job/main.py murker destroy

MurDB

python3 job/main.py db deploy

# If you wish to destroy it
python3 job/main.py db destroy

🐲 Murabi

# Start a murabi with
python3 job/main.py murabi deploy -p 8080

# You can kill with fire (joke).
python3 job/main.py murabi destroy

Deployment under πŸ’» Windows

Prepare pipenv

git submodule update --recursive --init

Rem Setup the envars
env.bat

Rem Install the dependencies
py -m pipenv install

Rem Open the python virtual environment
py -m pipenv shell

πŸ™€ Murker

Rem Start a few murkers (an instance is started on each port).
py job/main.py murker deploy -ports 9000 9001 -murabi-port 8080

Rem Check for their existence.
netstat -ano

Rem Kill the murkers.
py job/main.py murker destroy

MurDB

py job/main.py db deploy

Rem If you wish to destroy it
py job/main.py db destroy

🐲 Murabi

Rem Start a murabi with
py job/main.py murabi deploy -p 8080

Rem You can kill with fire (joke).
py job/main.py murabi destroy

🎲 Play around

Go to code/muir/play.html and open it on two different pages in your browser.

About

🏰 A release integration repo for all MUR components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •