This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
rm -rf ~/Code/vico | |
cd ~/Code | |
git clone https://github.com/vicoapp/vico.git | |
cd vico | |
make app | |
rm -rf /Applications/Vico.app | |
mv ~/Code/vico/build/Debug/Vico.app /Applications/Vico.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'faraday' | |
require 'forwardable' | |
module Soup | |
class Agent | |
extend Forwardable | |
def initialize(domain = 'https://www.soup.io/') | |
@agent ||= faraday(domain) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Discourse Application" | |
# automatically start | |
start on (local-filesystems and net-device-up IFACE!=lo) | |
chdir /home/discourse/discourse | |
env RAILS_ENV=production | |
pre-start exec mkdir -p logs |