Here the ARCsoft team write about things we’ve learned or are excited about! Each member contributes an article periodically, both as part of our mission to contribute to the community as well as to grow personally and professionally.
Django is a powerful Python web framework and it provides a straightforward way to display dynamic data in web applications. It has a template system for displaying content on the web. Templates can be combined with view functions to display data dynamically. This article will describe how to use a Django view function to retrieve and display dynamic data.
We use virtual machines a lot and many people like coding in VS Code, but some may have never used VS Code to code on another machine before. This post is a tutorial for setting up SSH in VS Code so that you can edit files on another machine right in VS Code.
Last week Archie and I presented our work on the STRAP project at the BCNet Connect 2023 conference in Vancouver. As last week was the end of Archie’s co-op terms with us, this was a great way to cap off all his hard work with the ARCsoft team since joining us in December 2022.
As websites expand, manual testing becomes more challenging. Interactions between components can lead to errors in other areas, and more changes are needed to ensure everything continues to function correctly. To address these issues, automated tests can be used to run every time changes are made, ensuring reliable and consistent testing. This blogpost demonstrates how to automate unit testing of your website using Django’s test framework.
When an application is deployed in Strapper, it’s reassuring to be able to see progress, and if something goes wrong, it’s essential to be able to examine what was reported during the process. Enter the real-time deployment log.
In moving to self-hosting STRAP (sort of–where we host the Strapper
application on platform) we have run into an issue where we rely on a file in
local storage which we can’t furnish any other way. We don’t want to at this
time make a change to the deployment manifest, but we may need to effect the
change multiple times, so we want something reusable: enter kubectl patch.
Up until now, using local storage for Terraform state has served STRAP development well: it’s the simplest to set up and, should you ever need to, it’s easy to pick apart. It’s completely adequate for many uses–if you have local storage, and you don’t need to share the state between multiple editors, then there is no advantage to storing Terraform state remotely. But Strapper doesn’t meet those criteria anymore so we need to go remote.
This article contains tips that I wish I knew when starting out with Django. Following these tips will help your development process with Django a lot faster and make your code way cleaner. This article assumes you already have basic Django knowledge. (Django’s full documentation can be found here.)
In this blogpost, we will be discussing the basics of the python library openpyxl, and about how to ingest an excel spreadsheet data into database such as SQLite.
One of the most commonly used version control systems is Git. One should follow a proper workflow to perform the tasks in a efficient and consistent manner. Git was originally created by Linus Torvalds in 2005. Git has a great support for branching, merging, and rewriting repository history. Git is considered to be a standard for software development.