Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

NotoriousPyro/open-metaverse-pool-www

Repository files navigation

Open Source Metaverse Mining Pool Web Application

Accompanies open-metaverse-pool and can serve as an example or a framework for your frontend.

Prerequisites

These are supported, other versions are unsupported.

  • open-metaverse-pool
  • Ubuntu - 16.04.5 LTS
  • git - all versions supported
  • nodejs - 4.6.x (on Ubuntu 16.04.5 LTS, install nodejs-legacy)
  • nginx - 1.9.x and above
  • Varnish HTTP Cache - 4.1.x and above

Installation

Use git to download this repo to a folder, then cd to it:

git clone git@github.com:NotoriousPyro/open-metaverse-pool-www.git /Your/Destination/Folder
cd /Your/Destination/Folder

Change ApiUrl: '//example.net/' in config/environment.js to match your domain name, blank will use the current domain. Also don't forget to adjust other options.

Then use the following:

npm install -g ember-cli@2.9.1
npm install -g bower
npm install
bower install

Configure varnish using the example in examples/varnish.vcl and set the port to open-metaverse-pool API

Configure nginx using the example in examples/nginx.conf and serve content from /Your/Destination/Folder/dist. Set the upstream port and IP to the varnish server.

Running / Usage

Now just start varnish, nginx, and make sure your API is up. If you get errors, please check folder permissions, missing folders and other common problems PRIOR to raising an issue. Issues raised with no prior debugging will be closed.

To build the web application, use ./build.sh after a fresh install or when you make a change.