Skip to content

grails 4 example with bootstrap 4 (adminLTE template), spring-security, image gallery and upload

License

Notifications You must be signed in to change notification settings

zhangjiayu139/grails4-animals

 
 

Repository files navigation

grails4-animals

grails 4 example with bootstrap 4 (adminLTE template), spring-security, image gallery and upload

Grails4Animals is a grails 4 example with bootstrap 4 (adminLTE template), spring-security, image gallery (fancybox) and upload. It provides an user administration, an image processing and a german localisation.

Screenshots

see wiki

Installation

Install grails and clone the repo.

git clone https://github.com/gklinkmann/grails4-animals.wiki.git

Configuration

You have to configure the webserver url and the image path in the application.yml config file. Esp. http://localhost/~gklinkmann/grails4-animals.

        apache:
            serverURL: 'http://localhost/~username/${info.app.name}'
        de:
            koo:
                animals:
                    images:
                        path: '/Users/username/public_html/${info.app.name}/images/animals'
                        url: '${apache.serverURL}/images/animals'

Deployment

see Grails Doku

  • run the app in development environment.
grails run-app
  • generate a war file
grails war
  • generate a runnable war file
grails package
java -Dgrails.env=dev -jar build/libs/grails4-animals-0.2.war

open http://localhost:8080/animals in browser

bootstraped user accounts:

  • user: admin pw: admin
  • user: user pw: user

About

grails 4 example with bootstrap 4 (adminLTE template), spring-security, image gallery and upload

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 45.9%
  • CSS 42.2%
  • Groovy 11.4%
  • Other 0.5%