Here’s a quick tutorial on how to create a framework for a forum. It doesn’t get into creating users, authentication or permissions, it’s mostly to show the relationships between entities and shore up the right views.
Preface: So in the quest for new projects I’ve considered building an all-in-one website-forum-chatroom package with the goal of creating something that people can download to their server, run an install script and it sets up everything necessary and then allows the user to do post-install customisation (setting up static website pages, creating user permission levels, forum headings, etc).
Carrying on from my last tutorial about building the relationships and core view elements for discussions and posts, we’re going to extend our budding forum by adding users and authentication.
To start, open Gemfile and down the bottom add gem 'devise' then run bundle install. Devise is an all-in-one authentication system that handles registration, sessions, authentication, recovering accounts, etc. To set up devise (our authentication station), run rails g devise:install. We’ll need to set the config.
I decided to play around with theming on the Ghost blogging platform, just dipping a toe in to examine the structure and process. I haven’t delved too far because it seems to be a bit more involved than Dropplet themes, especially with the introduction of the Handlebars templating engine. It’s also still a pretty new platform so I think they’re waiting to introduce new features and fix up some flaws (like the author URL-OH CRAP NOW I KNOW HOW TO DO IT.
So I finally managed to squeeze together some creative neurons and through ritual sacrifice and code creation and exploration I’ve finaly got together a theme for my Dropplets blog and rebuilt my homepage in a similar style. My aim was to create something quite minimalist, but with an organic feel through the use of warmer background tone and a fontface reminiscent of a typewriter’s keystrokes.
You can find the theme for a Dropplets blog online on my GitHub and it’s also available (along with my homepage) in the public section on my GitLab.
G’Day again lovely readers! I’m back and updating this blog but I hope you’re not expecting too much. I’m on a “systems operations/administration” binge at the moment, effectively rebuilding my tech infrastructure. To that extent, I’m doing less software developing/programming than I normally would; however I hope to return to that shortly with a few of the projects that are sitting in the warmer.
To allow breaks from the Ops side of things I’m tempted to rework the themes for my blogs (Dropplets, Ghost, Tumblr) and probably redo my website with a new and (hopefully) responsive theme.
Ghost represents a chance for me to finally start jotting down in more depth some of the work and ideas that have gone into various programming projects that I’ve created over time. I might introduce some tutorials, code snippets and things I’ve found on the continuous journey of development and self-discovery that is learning to sling code.
So who am I? I’m Adam O’Grady, an avid geek, futurist and proponent of both mental health awareness and socio-political policies that put all humans (and animals) first.