drafthub

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)
24 upvotes·2 comments·11.5K views
Sofyan Mahmoud
Sofyan Mahmoud
·
June 16th 2020 at 5:01PM

I adore the command of "git stash" <3

·
Reply
Bogdan Doicin
Bogdan Doicin
·
June 27th 2020 at 2:40PM

Git is a very good backup tool, at least.

·
Reply

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)
18 upvotes·2 comments·16.2K views
Bogdan Doicin
Bogdan Doicin
·
May 25th 2020 at 6:13AM

Great. Make sure you write the documentation in a manner so as many people understand it. I have experience with Python libraries which may be fantastic, but I don't understand a damn thing about how and where to start, what do the functions do and how to put them together.

·
Reply
Felipe Lincoln
Felipe Lincoln
·
May 26th 2020 at 7:43PM

I haven't written a single code docstring yet.

The readthedocs page has just been set up, I didn't even customize it. I will be working on it soon =)

·
Reply

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)
14 upvotes·1 comment·399.7K views
Sergii Tretiak
Sergii Tretiak
·
June 18th 2020 at 6:41AM

My advice - DO NOT switch technology so much dramatically, until you have a good knowledge of .NET.

·
Reply

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·174.5K views
Felipe Lincoln
Felipe Lincoln
·
May 24th 2020 at 3:54PM

Just to mention, somehow I couldn't get it to work using Coveralls. Switching to Codecov the solution was straightforward.

·
Reply

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)
5 upvotes·7.1K views