Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1 KB

readme.md

File metadata and controls

41 lines (33 loc) · 1 KB

Laravel Video Sharing Site

This is a video sharing website with a democratic (Reddit-like / Imgur-like) voting system.

I'm making this website open-source for the time being.

Dusk tests on headless server

To prepare to run tests on a headless server:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt update
sudo apt install google-chrome-stable
sudo apt install xvfb
Xvfb :0 -screen 0 1280x960x24

Now install xvfb as a service by creating /etc/systemd/system/xvfb.service:

[Unit]
Description=X Virtual Frame Buffer Service
After=network.target

[Service]
ExecStart=/usr/bin/Xvfb :0 -screen 0 1280x960x24

[Install]
WantedBy=multi-user.target

Source

And then run:

sudo systemctl enable /etc/systemd/system/xvfb.service

At which point you can:

sudo systemctl start xvfb