dbuggen

Datasektionens tidning, fast på webben! Även sektionens mest seriösa repo på github.

dbu.gg är en jekyll-app. För att kunna deployas på dokku är den dock fulhackad till en Rack-app.

Setup

Install ruby and ruby-dev

$ sudo apt-get install ruby
$ sudo apt-get install ruby-dev

Install bundler

$ gem install bundler

Install gems

$ bundle

Run rake to start a local development server

$ rake

Site is now live at localhost:9000

Deploying

dbuggen is hosted on datasektionens dokku server. To deploy, first ask someone important to add your ssh key in the right place. Then, push to the remote git push [email protected]:dbuggen to deploy. Make sure to also push to the master branch of this repo to keep dokku and Github in sync, preventing merge conflicts.

Here's a bunch of other, maybe relevant, commands

# shows a list of commands
ssh [email protected]

# Other executable commands:
ssh [email protected] <command>
# Ex: show dbuggen status
ssh [email protected] ps:report dbuggen
# Ex: see logs for dbuggen
ssh [email protected] logs dbuggen
# Ex: see logs as new information comes in
ssh [email protected] logs dbuggen -t
jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer