Welcome to my blog
Welcome once more, I’m very excited on this new challenge awaiting me, but it’s something I always dreamed of: blogging. I’ve been blogging here franckstifler.blogspot.com, but I decided to build a new blog by myself and put in the efforts to maintain a community.
Development
I build this blog using Elixir and Phoenix, that we will talk so much about on this blog, inspired by other great people works: jackmarchant.com. The blog code is very simple and works at follows:
- I write articles in markdown
- At each deploy, a task (we will talk about in a comming article) navigates in the folder of the markdown files, and converts it article to a valid html code using the Earmark library.
-
The html code from the markdown is stored in the database, and it’s content displayed using the
rawfunction of Phoenix.
The frontend part is just made of CSS that I wrote, no other library was used. The Phoenix web server renders the EEx templates and sends them to the browser. We will discuss about some of the animations on the links, and other CSS features.
Hosting
The website is hosted on Gigalixir, and I’m planning to purchase a custom domain name as soon as possible. I was planning to go for Heroku, but my during my previous experiences with Heroku, I noticed the app sleeps frequently on free tier. There are other limitations with Heroku, that are available on Gigalixir. You can read more about it <a href=”https://hexdocs.pm/phoenix/heroku.html#limitations”>here</a>.
Code
The source code of the blog is on my GitHub account: blog source code
Future Goals
- Improve the mobile user interface
- Publish content frequently
- Include (email) subscriptions
Stay tuned!