{"id":22289176,"url":"https://github.com/fmpwizard/lift-examples","last_synced_at":"2025-03-25T21:21:52.862Z","repository":{"id":12708795,"uuid":"15381305","full_name":"fmpwizard/lift-examples","owner":"fmpwizard","description":"Different Lift examples that I publish on my blog at http://blog.fmpwizard.com","archived":false,"fork":false,"pushed_at":"2015-04-24T03:21:16.000Z","size":3394,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T18:41:49.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fmpwizard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-22T20:06:23.000Z","updated_at":"2015-07-06T11:08:56.000Z","dependencies_parsed_at":"2022-09-23T09:11:41.150Z","dependency_job_id":null,"html_url":"https://github.com/fmpwizard/lift-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmpwizard%2Flift-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmpwizard%2Flift-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmpwizard%2Flift-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmpwizard%2Flift-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmpwizard","download_url":"https://codeload.github.com/fmpwizard/lift-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245543525,"owners_count":20632666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T17:08:29.324Z","updated_at":"2025-03-25T21:21:52.837Z","avatar_url":"https://github.com/fmpwizard.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"#lift-examples\n\nDifferent Lift examples that I publish on my blog at http://blog.fmpwizard.com\n\n#Requirements\n\n* Nodejs versions \u003e= 0.8.0 [http://nodejs.org/](http://nodejs.org/)\n* Grunt 0.4.x [http://gruntjs.com/](http://gruntjs.com/)\n* Bower [http://bower.io/](http://bower.io/)\n\n#Install required components\n\nInstall node using your operating system package management.\n\nThen: (you may need to run them as sudo)\n\n```\n$ npm install -g grunt\n$ npm install -g grunt-cli\n$ npm install -g bower\n\n```\n\n#Getting the resources build dependencies\n\nAt the root of the project, run:\n\n```\n$ npm install\n```\nRunning `npm install` reads the file `package.json` and gets all the dependecies it needs and puts them in the `node_modules` folder.\n\nNow let's get the javascript/css dependencies.\n\n```\n$ bower install\n```\n\nThis step will  read the `bower.json` file and add the dependencies to the `bower_components/` folder.\n\n#Initial workflow\n\nOnce you have the setup in place, we need to do the initial build of the resources (javascript, css anf font files). This is why we use `Grunt`. So go ahead and run this on the terminal:\n\n```\n$ grunt\n```\n\nThis will run:\n\n* **jshint**: this task will look for code errors on your javascript files, things like unused variables, missing semicolons, etc\n* **requirejs**: this task will minify your js files and the dependencies (like jquery, bootstrap.js, etc) and it will concatenate them into `src/main/webapp/static/dist/main.min.js`\n* **cssmin**: It will minify and concatenate your css files (including bootstrap files) and produce `src/main/webapp/static/dist/main.min.css`\n* **copy**: this task will copy the bootstrap fonts files to `src/main/webapp/static/fonts/`\n\n#Normal workflow\n\nWhile you are developing your application, you can run\n\n```\n$ grunt watch\n```\n\nAnd this task will watch for changes on your css/js files and run the minification and concatenation automatically. This step may take some time. If the time it takes is too long, you could modify the `Gruntfile.js` file not to run the minification/uglifycation step during dev mode. Future versions of this template will provide that.\n\n#Questions.\n\nFeel free to email us on the Lift mailing list at [https://groups.google.com/forum/?fromgroups#!forum/liftweb](https://groups.google.com/forum/?fromgroups#!forum/liftweb)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmpwizard%2Flift-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmpwizard%2Flift-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmpwizard%2Flift-examples/lists"}