Giter Site home page Giter Site logo

apollo's Introduction

Apollo

๐Ÿš€ Strap some rockets to go-rupaya

Table of contents

Installation

On a vanilla linux vps please run this command bash install-server.sh

Depending on your security level in your shell, the root password can be asked during the installation script to execute sudo commands during installation.

git clone https://github.com/rupayaproject/Apollo

If you don't have Golang and/or go-rupaya installed yet, run our installation script: cd Apollo bash install-server.sh. Follow the prompts and accept/enter when asked. Once finished you might be asked to close/restart the terminal. On a successfull install you should have go-rupaya as a directory alongside Apollo.

Optional: create a directory to store the masternode/chain data: mkdir YOUR_DATADIR

Configuration

From within the Apollo directory, run bash apollo.sh start.

The start command will execute the configuration helper. Please follow the steps displayed on the console to setup Apollo once.

Usage

Run the apollo scipt by executing bash apollo.sh along with one of the following parameters:

  • start Launches the masternode
  • stop Stops the rupaya masternodes
  • import Allows a user to import a private key
  • force-close Force close all running rupaya instances
  • update Update the Apollo files to their latest version
  • log Shows the daemon output. Ctrl+c to exit.
  • clean Remove the entire datadir

Hint! You can run all these actions in one go by running bash apollo.sh start. This executes all needed steps in a single command.

Enter any key in your console to let the masternode run in the background.

Check if you are displayed on our stats page http://stats.rupaya.io

Send our developers a DM to receive some testnet tokens in order to activate and setup your masternode.


Setting up a masternode with no initial masternode address

bash apollo.sh start for the first time.

It will ask you if you want to create a new coinbase account, or import an existing one.

The password will be saved in /Apollo/.pwd and the address will be saved in /Apollo/testnet.env.

Complete the setup helper. This will then start the node and begin syncing.

Setting up a masternode with an existing masternode address (importing)

Run bash apollo.sh import and follow the steps.

Connecting to our network with MetaMask

You will need to go to https://master.rupaya.io/

There you must click the loginbutton. If you use metamask, you need to connect to a custom network first

RPC URL: https://socket.rupaya.io:7050
Chain ID: 77
Symbol RUPX
Nickname RUPAYA

Run latest dev branch

cd && git clone https://github.com/rupayaproject/go-rupaya && cd go-rupaya && git checkout rebrand && make rupaya && sudo rm  /usr/local/bin/rupaya && sudo cp build/bin/rupaya /usr/local/bin

To return to the stable version:

cd && cd go-rupaya && git checkout master && make rupaya && sudo rm  /usr/local/bin/rupaya && sudo cp build/bin/rupaya /usr/local/bin

Common issues

Note: You might need sudo permissions to run any commands below.

On first install: chmod: changing permissions of FILE/DIR denied: rerun chmod -R 755 Apollo with sudo permissions.

permission denied when running .sh files: First execute chmod +x FILE_NAME to grant permissions

When updating via git pull: error: Your local changes to the following files would be overwritten by merge: Stash the local changes made by the chmod action by executing git stash first.

Upgrading go-rupaya

Whenever new updates are available, please run bash upgrade-rupaya.sh.

Upgrade Apollo

cd && rm -rf Apollo && git clone https://github.com/rupayaproject/Apollo && chmod -R 755 Apollo/ && cd Apollo

This will remove the repository and reinstall it completely.

Known bugs

After creating the initial account, chances are likely that your node will start without unlocking the account first. Until this is fixed, we recommend you, after first run, to stop the node and restart it. Check the logs to confirm it's running!.

apollo's People

Contributors

mobay7777 avatar

Watchers

 avatar

Forkers

rupayaproject

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.