Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • sh-test-1
  • dylangriffith-production-master
  • evn-guideline-on-when-to-call
  • evn-okr-update
  • evn-prio-labels
  • release-9-3
  • release-9-4
  • sr-pmm-to-dir
  • br-update-lb
  • pc-add-themes-to-prod-engs
  • 1472-update-frontend-okrs
  • patch-265
  • new-style-general-blogposts
  • dimitrie-travel-blog-post
  • reseller-press-release
  • add_LeeAnn_info_to_teamyml_file
  • add_LeeAnnYoungblood_to_team_page
  • patch-264
  • update-networking
20 results

www-gitlab-com

  • Clone with SSH
  • Clone with HTTPS
  • Forked from GitLab.com / www-gitlab-com
    106455 commits behind, 1 commit ahead of the upstream repository.
    user avatar
    Job van der Voort authored
    d8d3fe1a
    History

    Deploying

    It is sufficient to merge or push to master and site will be automatically deployed. For more info see documentation

    Manual:

    git remote add deploy deploy@blue-moon.gitlap.com:~/www-gitlab-com.git
    git push deploy master

    Development

    Serve a local build on http://localhost:4000 using:

    bundle exec rake preview

    Deployment setup

    Set up a build server with a bare repository and the hook in _support/hooks. Install site and PDF build dependencies sudo apt-get install texlive-latex-recommended ruby1.9.1-dev ruby1.9.1

    Unfortunately, the pandoc version that ships with Ubuntu 12.04 is too old, so we have to build from source.

    sudo apt-get install haskell-platform
    sudo su - deploy # become the user who performs the build
    cabal update
    cabal install pandoc # takes a while

    Copy _support/user/bash_profile to ~deploy/.bash_profile to make sure the build script picks up the pandoc executable.