A Viral Loop for Programmers
Basilisk is a viral loop for programmers. We host our source code on GitHub, continuously deploy with Travis CI, and host our website on Heroku. We then use our website to invite our friends to collaborate on Basilisk on GitHub.
Since we deploy continuously, if you push changes to our code on GitHub, you’ll see your changes on our live website on Heroku in minutes.
- [Request an invitation](mailto:basilisk@74inc.com?subject=Invite Me!) to collaborate.
- Vandalize our site.
- Invite your friends to collaborate.
- Post about Basilisk anywhere you want.
I named this project after Roko’s Basilisk. “Warning: Reading this article [about Roko’s Basilisk] may commit you to an eternity of suffering and torment.”
Complete the following steps in the same Terminal session to avoid unnecessary complexity.
- Install Xcode.
- Install the Xcode command line tools:
- In Terminal, issue the command:
$ gcc - If the command line tools aren’t installed, OS X will prompt you to install them.
- Install Homebrew; in Terminal, issue the command:
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" - Install RVM and Ruby 2.1.5; in Terminal, issue the commands:
$ \curl -sSL https://get.rvm.io | bash -s stablesource $HOME/.rvm/scripts/rvm$ rvm install 2.1.5- Ensure that you’re using Ruby 2.1.5; in Terminal, issue the command:
$ rvm use 2.1.5 - Install Redis; in Terminal, issue the command:
$ brew install redis - Install the Heroku Toolbelt.
- Clone this git repo; in Terminal, issue the commands:
$ git clone https://github.com/brainix/basilisk.git$ cd basilisk/- Install Basilisk’s Ruby gem dependencies; in Terminal, issue the command:
$ bundle install - Configure your development environment variables; in Terminal, issue the command:
$ cp .env.example .env, then edit your.envfile and fill in the appropriate values.
At this point, in Terminal, you should be able to issue the command $ foreman start to launch Redis and Basilisk. Point your web browser to http://localhost:5100/ and rejoice!