Skip to main content
37
results
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
Updating NPM packages using npm update and I'm seeing the following response npm...
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 repo: 1. Create a temporary directory Create a temporary directory obviously where your other sites are located locally.  For me, this is in the Sites directory. mkdir temp-dir  2. Clone Begin by cloning the current repo in the directory generated above username@25.123.212.231:/opt/git/proj.git  3. Directory Go into the temp-dir directory and view see a list of the different branches: git branch -aA...
Andrew Fletcher
Reviewing CKAN extensions and listing the extensions that have been created /...
Andrew Fletcher
Location of the base templates cd...
Andrew Fletcher
Finding the issue with a server 500 error The Nginx error logs are showing too...
Andrew Fletcher
Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini).  When I run the...
Andrew Fletcher
Following the instructions on CKAN DataStore with a little information.   Enable the plugin In your CKAN config file (/etc/ckan/default/ckan.ini), update the datastore plugin ckan.plugins = datastore  Set-up the database The DataStore requires a separate PostgreSQL database to save the DataStore resources.  List the existing databases: sudo -u postgres psql -lResponse List of databases Name | Owner | Encoding |...
Andrew Fletcher
Working through a CKAN installation on Ubuntu 20.04 User sees a server 500...
Andrew Fletcher
Before you can run CKAN for the first time, you need to run db init to...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...