Avatar of Felipe Lincoln

I can't think of a way one can develop a real product not having to rely on #git. For the past couple of months I have been working intensively on my website and hence #git became part of my daily routine. It feel a lot comfortable being able to make changes to my main project not worrying about side effects it can have given that you can restore everything to the last version if the new code you introduced totally crashes the application.

READ MORE
GitHub - drafthub/drafthub: Hosted blogging platform based on GitHub (github.com)
17 upvotes·2 comments·8.8K views

The website I built is totally open source, hence every piece of my code should be documented and available for contributors. #Sphinx and #ReadTheDocs are the perfect match for this circumstances. It automates the process of generating the HTML pages with #Sphinx and #ReadTheDocs implement continuous deployment getting the last version of my #GitHub master branch. Once configured, the only work I have is making docstrings, the hard work is done entirely by these two fantastic tools.

READ MORE
Welcome to drafthub’s documentation! — drafthub documentation (drafthub.readthedocs.io)
16 upvotes·5 comments·10.1K views

Since I came from python I had two choices: #django or #flask. It felt like it was a better idea to go for #django considering I was building a blogging platform, this is kind of what #django was made for. On the other hand, #rails seems to be a fantastic framework to get things done. Although I do not regret any of my time spent on developing with #django I want to give #rails a try some day in the future for the sake of curiosity.

READ MORE
GitHub - drafthub/drafthub: Hosted blogging platform based on GitHub (github.com)
8 upvotes·1 comment·7.2K views

My website is brand new and one of the few requirements of testings I had to implement was code coverage. Never though it was so hard to implement using a #docker container. Given my lack of experience, every attempt I tried on making a simple code coverage test using the 4 combinations of #TravisCI, #CircleCi with #Coveralls, #Codecov I failed. The main problem was I was generating the .coverage file within the docker container and couldn't access it with #TravisCi or #CircleCi, every attempt to solve this problem seems to be very hacky and this was not the kind of complexity I want to introduce to my newborn website. This problem was solved using a specific action for #GitHubActions, it was a 3 line solution I had to put in my github workflow file and I was able to access the .coverage file from my docker container and get the coverage report with #Codecov.

READ MORE
GitHub - drafthub/drafthub: Hosted blogging platform based on GitHub (github.com)
5 upvotes·1 comment·8.6K views

It felt so good to deploy a website in Heroku, everything is simple and easy to setup. I can keep my github repository in sync with Heroku deployment so I don't even have to bother about get my website running. If you are an university student you can even get for free a Hobby plan. This is my starter option and it fills my needs for now.

READ MORE
GitHub - drafthub/drafthub: Hosted blogging platform based on GitHub (github.com)
4 upvotes·5.9K views