Skip to main content
55
results
Andrew Fletcher
Forcing https and www or non-www is a process that I was a custom to through .htaccess.  In fact I had become very strong at managing and working my .htaccess files.  However, what I had become strong in one area, I was oblivious to using other methods.  My bad. Well that was until I had to change my way.  Working on an Nginx server, .htaccess was not in play.  Instead, I needed to configure the /etc/nginx/sites-available directory. For me to force SSL and www I...
Andrew Fletcher
git reset, git revert, and git cherry-pick are three Git commands used for...
Andrew Fletcher
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
Logging into the server, and there are packages to be updated.  You know...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
  Install the CKAN package Begin by cleaning up your server environment.  Do this by updating Ubuntu’s package index: sudo apt updateNow you can install the packages that CKAN requires (including ‘git’, which will allow you to install CKAN extensions): sudo apt install -y libpq5 redis-server nginx supervisorResponse Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fontconfig-config...
Andrew Fletcher
If you're planning to create extensions, generating CKAN from source is the...
Andrew Fletcher
git clone git@bitbucket.org:{username}/{repo}.git And I was unceremoniously...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Git filename error when running the git add command.  The error I'm...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout command locally.  On my local environment I ran the following command git checkout {branch-name}However, the response was error: pathspec '{branch-name}' did not match any file(s) known to git  Solution The issue while the new branch is known in the repo, it's not known in my local environment.  To make the new branch known you need to run the fetch command git fetch --allResponse remote: Enumerating...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
How do you remove a file from git? Use the command (rm) to remove files from...
Andrew Fletcher
Moving a Git repo due to a change of agencies   Steps to change the...