Skip to content

trojmiasto-jug/trojmiastojug-website-jbake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to start

  • Install jbake (sdk install jbake)

  • Initialize in specific folder with groovy templates jbake -i src/jbake -t groovy

  • Bake (compile <input> to <output> folder): jbake -b src/jbake build/jbake

  • Serve jbake -s build/jbake

Preview

  • Live preview without installing jbake can be done by running server.groovy or running following snippet

    #!/usr/bin/env groovy
    
    @Grapes([
      @Grab('io.ratpack:ratpack-groovy:1.4.4'),
      @Grab(group='org.slf4j', module='slf4j-api', version='1.7.22'),
      @Grab(group='org.slf4j', module='slf4j-simple', version='1.7.22')
    ])
    import static ratpack.groovy.Groovy.ratpack
    
    ratpack {
      handlers {
        files { f -> f.dir('build/jbake').indexFiles('index.html') }
      }
    }

Downloading events from meetup com

  • Integration is in src/main/groovy/pl/trojmiastojug/build/MeetupIntegration.groovy

  • It’s run in meetupEvents gradle tasks

Deployment to gh-pages

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published