LogoLogo
  • Marscoin
  • Marscoin
    • About
    • History
  • Martian Republic
    • Whitepaper
    • Introduction
    • Wallet
    • Citizen
    • Congress
      • Proposal
      • Bill
      • Ballot
      • Voting
      • Result
      • Archive
    • Forum
    • Inventory
    • Logbook
    • Installation
Powered by GitBook
On this page
  1. Martian Republic

Installation

Components and installation

PreviousLogbook

Last updated 2 years ago

  • LAMP stack (Linux, Apache, MySQL, PHP)

  • NodeJS

  • Marscoin node

  • Martian Republic source code

Martian Republic: Webserver and backend services

git clone repository-link.git

Use composer to install packages: composer install

Set up your apache virtual host to point to your git folder /public

Copy marswallet.json.sample to a folder /home/mars/constitution/marswallet.json and set read only permissions.

Make sure to give permissions to /storage

Begin by installing a LAMP stack:

Install composer:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04
https://getcomposer.org/download/