Giter Site home page Giter Site logo

stewmath / oracles-randomizer-ng-webui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaysee87/oracle-of-seasons-ages-randomizer-web-interface

0.0 1.0 0.0 38.56 MB

Web Wrapper for Oracle of Seasons/Ages Randomizer

HTML 2.23% JavaScript 79.04% CSS 1.16% Python 2.42% Dockerfile 2.27% Shell 4.30% MDX 7.48% TypeScript 1.11%

oracles-randomizer-ng-webui's Introduction

OOS/A Randomizer Web Interface

This is a web interface for oracles-randomizer-ng. Hosted online here.

Running the Web Interface

You can run this on a linux machine, either in docker or directly on the host machine. Docker is recommended due to the tangled web of dependencies needed to build everything.

With docker

Ensure docker is installed (obviously). This should be the only dependency.

Download the repository:

git clone --recursive https://github.com/Stewmath/Oracle-of-Seasons-Ages-Randomizer-Web-Interface

Or if you've already downloaded it, ensure that all submodules are checked out:

git submodule update --init --recursive

Place the clean roms "ages_clean.gbc" and "seasons_clean.gbc" in the "roms/" directory.

Then run the following commands:

./setup.sh build-docker # Build docker containers, should only need to do this once
./setup.sh build-rando  # Build oracles-randomizer-ng and base roms
./setup.sh start        # Run the webui on port 80

Do not run the commands as root, npm will complain (sudo should be fine).

You can view the server logs with:

sudo docker logs rando-server-container

Stop the server with:

./setup.sh stop

Over time, you may get a pileup of unused docker images. You may want to free up some disk space with:

sudo docker image prune
sudo docker container prune

Without docker

Aside from figuring out how to compile oracles-randomizer-ng and oracles-disasm, you'll need to install npm and mongod to run the webui.

To install the back and front end dependencies:

npm run install-both

Also install "concurrently":

sudo npm i -g concurrently

Then run the server:

npm run dev

oracles-randomizer-ng-webui's People

Contributors

stewmath avatar jaysee87 avatar jon-cundiff avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.