brexis / dev-stack

My online dev stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements

See Requirements file.

Intallation

With Curl

curl -o- https://raw.githubusercontent.com/brexis/dev-stack/master/install.sh | bash

Or Wget

wget -qO- https://raw.githubusercontent.com/brexis/dev-stack/master/install.sh | bash

Setting up

Add this to your .bashrc

export STACK_HOME=$HOME/.stack
export PATH=$STACK_HOME/bin:$PATH

Then run

source ~/.bashrc

Configuration

Update the settings file

nano ~/.stack/config/settings.yml

Setup environment

stack setup

Configuration

stack configure

Services

Elasticsearch

sudo service elasticsearch start
sudo service elasticsearch stop

Minio

sudo service minio start
sudo service minio stop

Mailhog

sudo service mailhog start
sudo service mailhog stop

Install Mate

https://jerrygamblin.com/2016/10/19/ubuntu-remote-desktop-on-digital-ocean/

sudo apt-get update && sudo apt-get dist-upgrade -y
sudo apt-get install --no-install-recommends ubuntu-mate-core ubuntu-mate-desktop -y
sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon -y

echo mate-session> ~/.xsession
sudo cp ~/.xsession /etc/skel

Drone

Config files are in /etc/drone folder. You can start the drone server and agent by running:

sudo service drone start

Install Chrome

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

Chrome remote desktop

Install

wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
sudo dpkg -i chrome-remote-desktop_current_amd64.deb
...
dpkg: dependency problems prevent configuration of chrome-remote-desktop:
 chrome-remote-desktop depends on xvfb-randr | xvfb; however:
  Package xvfb-randr is not installed.
  Package xvfb is not installed.
 chrome-remote-desktop depends on xbase-clients; however:
  Package xbase-clients is not installed.
 chrome-remote-desktop depends on python-psutil; however:
  Package python-psutil is not installed.
...

To resolve the dependency problems, run apt -f install and then re-install the package:

sudo apt-get -f install
$ /opt/google/chrome-remote-desktop/start-host --code="MY_AUTH_CODE" \
    --redirect-url=https://talkgadget.google.com/talkgadget/blank \
    --name="MY_REMOTE_NAME"
  • Pick a PIN and use it to connect later.

Add aliases

Update the aliases file at $HOME/.stack/config/aliases. Add your aliases and run:

stack configure

About

My online dev stack


Languages

Language:Shell 88.2%Language:Ruby 11.8%