<commit_before>- if (team.includes(user, session.team) || admin)
  .edit: a.button( href: '/teams/' + team + '/edit' ) Edit

h1= title(team.entry.name || team.name)

- if (team.invited(session.invite))
  h2 You're invited to this team!
  p.accept
    a.button.scary( href: '/login/github' ) Accept Invitation
    |  via
    img( src: '/images/github.png', style: 'margin-bottom: -4px;' )
    | github

- if (admin || team.includes(user))
  ul.steps
    li( class: team.entry.name ? 'done' : 'pending' )
      a( href: '#entry' ) Entry info
    li( class: team.lastDeploy ? 'done' : 'pending' )
      a( href: '#deploy' ) Deploy

  .step#entry
    - if (!team.entry.name)
      h2.pending Entry Info Missing
      p Describe to judges what your entry is about.
        a.button( href: '/teams/' + team + '/edit' ) Add &raquo;
    - else
      h2.done Entry Info Complete
      p Change this information any time before coding ends.
        a.button( href: '/teams/' + team + '/edit' ) Edit &raquo;

  .step#deploy
    - if (lastDeploy = team.lastDeploy)
      h2.done Successfully Deployed
        .details
          - lastDeployedAt = new Date(lastDeploy._id.generationTime)
          time( datetime: lastDeployedAt.toISOString(),
                title: lastDeployedAt.toISOString() )
            = relativeDate(lastDeployedAt)
          |  &mdash;
          a( href: team.entry.url )= team.entry.url
    - else
      h2.pending Not Yet Deployed
    h4 Deploy ping &mdash; 
      a( href: 'https://github.com/nko2/website/tree/master/module#readme' ) More info
    ul
      li require('nko')('
        b= team.code
        | '); \/\/ team code
      li export NODE_ENV=production

    h4 Joyent no.de &mdash; 
      a( href: 'http://blog.nodeknockout.com/post/9393790204/coundown-to-ko-20-no-de-getting-started-guide' ) More info
    ul
      li git remote add joyent git://no.de/foo.git
      li git push joyent master

    h4 Heroku &mdash; 
      a( href: 'http://blog.nodeknockout.com/post/9262660989/countdown-to-ko-10-deploying-your-node-js-app-to' ) More info
    ul
      li heroku login
      li git remote add heroku <EMAIL>:nko2-#{team.slug}.git
      li git push heroku master

    h4 Linode &mdash; 
      a( href: 'http://blog.nodeknockout.com/post/9300619913/countdown-to-ko-14-deploying-your-node-js-app-to' ) More info
    ul
      li
        | Login to
        a( href: 'https://manager.linode.com/' ) Linode Manager
        table
          tr
            th Username
            td= team.linode.username
          tr
            th Password
            td= <PASSWORD>
          tr
            th IP
            td= team.linode.ip_address

- if (team.entry.name)
  .entry-info
    - if (url = team.entry.url)
      a( href: url )
        img.screenshot( src: 'http://pinkyurl.com/i?url=' + encodeURIComponent(url) + '&out-format=png&resize=160x93' )<commit_msg>don't confuse people with half-baked joyent instructions<commit_after>- if (team.includes(user, session.team) || admin)
  .edit: a.button( href: '/teams/' + team + '/edit' ) Edit

h1= title(team.entry.name || team.name)

- if (team.invited(session.invite))
  h2 You're invited to this team!
  p.accept
    a.button.scary( href: '/login/github' ) Accept Invitation
    |  via
    img( src: '/images/github.png', style: 'margin-bottom: -4px;' )
    | github

- if (admin || team.includes(user))
  ul.steps
    li( class: team.entry.name ? 'done' : 'pending' )
      a( href: '#entry' ) Entry info
    li( class: team.lastDeploy ? 'done' : 'pending' )
      a( href: '#deploy' ) Deploy

  .step#entry
    - if (!team.entry.name)
      h2.pending Entry Info Missing
      p Describe to judges what your entry is about.
        a.button( href: '/teams/' + team + '/edit' ) Add &raquo;
    - else
      h2.done Entry Info Complete
      p Change this information any time before coding ends.
        a.button( href: '/teams/' + team + '/edit' ) Edit &raquo;

  .step#deploy
    - if (lastDeploy = team.lastDeploy)
      h2.done Successfully Deployed
        .details
          - lastDeployedAt = new Date(lastDeploy._id.generationTime)
          time( datetime: lastDeployedAt.toISOString(),
                title: lastDeployedAt.toISOString() )
            = relativeDate(lastDeployedAt)
          |  &mdash;
          a( href: team.entry.url )= team.entry.url
    - else
      h2.pending Not Yet Deployed
    h4 Deploy ping &mdash; 
      a( href: 'https://github.com/nko2/website/tree/master/module#readme' ) More info
    ul
      li require('nko')('
        b= team.code
        | '); \/\/ team code
      li export NODE_ENV=production

    h4 Joyent no.de &mdash; 
      a( href: 'http://blog.nodeknockout.com/post/9393790204/coundown-to-ko-20-no-de-getting-started-guide' ) More info

    h4 Heroku &mdash; 
      a( href: 'http://blog.nodeknockout.com/post/9262660989/countdown-to-ko-10-deploying-your-node-js-app-to' ) More info
    ul
      li heroku login
      li git remote add heroku <EMAIL>:nko2-#{team.slug}.git
      li git push heroku master

    h4 Linode &mdash; 
      a( href: 'http://blog.nodeknockout.com/post/9300619913/countdown-to-ko-14-deploying-your-node-js-app-to' ) More info
    ul
      li
        | Login to
        a( href: 'https://manager.linode.com/' ) Linode Manager
        table
          tr
            th Username
            td= team.linode.username
          tr
            th Password
            td= team.linode.password
          tr
            th IP
            td= team.linode.ip_address

- if (team.entry.name)
  .entry-info
    - if (url = team.entry.url)
      a( href: url )
        img.screenshot( src: 'http://pinkyurl.com/i?url=' + encodeURIComponent(url) + '&out-format=png&resize=160x93' )
{'fraction_non_alphanumeric': 0.13284390840762106, 'fraction_numerical': 0.018877818563188254, 'mean_word_length': 2.1456844420010994, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2811167', 'n_tokens_mistral': 2044, 'n_tokens_neox': 1957, 'n_words': 476}