Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

adshares/installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adshares

(DEPRECATED) Adshares / Installer


Project is DEPRECATED due to incompatible changes in other modules. See https://docs.adshares.net/adserver/how-to-start-adserver.html

Quick Start (on Ubuntu 18.04)

Prerequisites

  • Existing ADS account (with credentials)
  • A clean Ubuntu/Bionic install
  • You are logged in as a user with sudo privileges
  • domain for adserver UI and another for serving ads pointing to server IP (eg. main domain for UI and subdomain for serving ads: example.com and app.example.com)
  • You have mail server ready somewhere (use something like MailHog for local testing)
apt-get install git
git clone https://github.com/adshares/installer.git
cd installer
sudo -H bin/install.sh

The script above creates a separate adshares user (without sudo privileges) to be the owner of all the installed services.

Script will ask you to provide your ADS wallet credentials, so please create ADS account first.

Note that there are many environment variables you can override to tweak the behavior of the services. Every project has the .env file where you can find most of configuration options.

Examples:

Deploy mailhog

docker run --publish 1025:1025 --publish 8025:8025 --detach --restart always mailhog/mailhog

Prepare system dependencies without deploying

sudo -H SKIP_SERVICES=1 bin/install.sh

Deploy all services from develop branches without reinstalling system dependencies

sudo -H SKIP_BOOTSTRAP=1 bin/install.sh -b develop

Simple one-liner when you have installer in your home dir - this installs all the currently checked out services

cd ~/installer/ && git pull && sudo -H SKIP_BOOTSTRAP=1 SKIP_CLONE=1 bin/install.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages