-
Notifications
You must be signed in to change notification settings - Fork 1
Example Atom publisher and Content Manager in Lift
License
glennSilverman/democritus
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Democritus is an example Lift Content Management System. Note: Uses Lift 1.1-SNAPSHOT. Includes role-based authorization. Logged in "admin" users can create content that complies with Atom Publishing Protocol 1.0, feed the title and description to the home page, and display the full page when the title link is clicked. The system uses wymeditor for content creation and also supports nested superfish menus which can be linked to content via rewriteRequests. Content you create can also be published as ATOM feeds. Set up and useage: The program is best packaged, compiled and run with Maven 2. To run, simply create a directory on your local drive, and edit data_dev in src/main/resources/democritus.properties to use that directory. eg: data_dev=C:/democritus_data/ This is where your content pages will be stored. Don't forget the "/" at the end. Then, cd to the directory where you extracted this download and run: mvn jetty:run to build and launch in the embedded Jetty servlet container. Or, if you prefer Tomcat, run: mvn package and then upload target/democritus-<version>.war to your Tomcat webapp directory. Only users with role of "admin" can edit content and create and edit user roles. At startup, a default admin user is created for you. Log in as user: [email protected], password: "admin" and go to the List Contents menu to start adding and editing content. Make sure to complete the page and tag entries. Do not include an extension on your page entry. All pages have an html extension by default. To view your content on the home page, edit the tags attribute in <lift:ManageContents.feed tags="test"/> in index.html to include a comma-separated list of tags that you have created for your content. For example, tags="test,page1,page2", would display the titles and descriptions of pages you have tagged with test, page1 and page2.
About
Example Atom publisher and Content Manager in Lift
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published