Slick is a beautiful app to help create exceptional web content. It's highly optimized for blogging.
It's built on top of Sling, HTL, Oak, OSGi and many other frameworks common to Adobe Experience Manager.
slick.millr.org | experiencemanaged.com
java -jar org.apache.sling.launchpad-8.jar
mvn clean install -PautoInstallBundle
http://localhost:8080
java -Xmx1024M -agentlib:jdwp=transport=dt_socket,address=30303,server=y,suspend=n -jar org.apache.sling.launchpad-8.jar
mvn clean install -PautoInstallBundle -Dsling.host=YOURHOST -Dsling.password=YOURPASSWORD -Dsling.port=YOURPORT
Located at http://localhost:8080/author.html (admin:admin)
<VirtualHost *:80>
ServerName slick.millr.org
ProxyPreserveHost On
ProxyPass / http://localhost:8080/ connectiontimeout=5 timeout=300
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
RewriteEngine on
# Rewrite the homepage to posts
RewriteRule ^/$ /content/slick/publish/posts.html [PT,L]
# Rewrite Fav Icon
RewriteRule ^/favicon.ico$ /etc/slick/designs/slick/dist/img/favicon.ico [PT,L]
# Rewrite our Robots
RewriteRule ^/robots.txt$ /etc/slick/designs/slick/dist/txt/robots.txt [PT,L]
# Rewrite our author
RewriteCond %{REQUEST_URI} !^/apps
RewriteCond %{REQUEST_URI} !^/bin
RewriteCond %{REQUEST_URI} !^/content
RewriteCond %{REQUEST_URI} !^/etc
RewriteCond %{REQUEST_URI} !^/home
RewriteCond %{REQUEST_URI} !^/libs
RewriteCond %{REQUEST_URI} !^/tmp
RewriteCond %{REQUEST_URI} !^/var
RewriteCond %{REQUEST_URI} !^/system
RewriteRule ^/author(.*)$ /content/slick/author$1 [PT,E,L]
# Rewrite everything else to publish
RewriteCond %{REQUEST_URI} !^/apps
RewriteCond %{REQUEST_URI} !^/bin
RewriteCond %{REQUEST_URI} !^/content
RewriteCond %{REQUEST_URI} !^/etc
RewriteCond %{REQUEST_URI} !^/home
RewriteCond %{REQUEST_URI} !^/libs
RewriteCond %{REQUEST_URI} !^/tmp
RewriteCond %{REQUEST_URI} !^/var
RewriteCond %{REQUEST_URI} !^/system
RewriteRule ^/(.*)$ /content/slick/publish/$1 [PT,E,L]
RewriteRule ^/content/slick/publish/(.*)$ /$1 [R=301,NC,L]
Applies to Java / HTL
{YOUR-WORKSPACE}/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml
if needed.Applies to SCSS / JS / IMG / TXT
During autoInstallBundle, all JS and SCSS are concatenated, minified, and installed. However, if you want to work without running maven for every change, you can run gulp to push changes to Sling automatically.
gulp
and gulp-cli
.ui.apps
, install all additional front-end dependencies using npm install
.ui.apps
run gulp
.ui.apps/src/main/resources/jcr_root/etc/slick/designs/...
$ gulp --slingHost='slick.millr.org' --slingPort=8181 --slingPass=MySuperPassword --slingUser=cmillar