text: #!/usr/bin/env node
  
  const debug = require('debug')('gitlab-dashboard-proxy')
  debug('Starting...')
  
  debug('Checking for GITLAB_URL environment variable')
  if (!process.env.GITLAB_URL) {
    console.error('Error! GitLab URL is not set.\n')
    console.log('Usage:\n export GITLAB_URL=https://gitlab.com\n gitlab-dashboard-proxy')
    process.exit(1)
  }
  
  const app = require('./proxy')
  let port = process.env.PORT || 3000
  
  app.listen(port, () => {
    console.log(`Server started on port ${port}`)
  })
  