Skip to main content
45
results
Andrew Fletcher
Before you can run CKAN for the first time, you need to run db init to initialise your database: ckan -c /etc/ckan/default/ckan.ini db initIf this fails due to a permission issue, then the user and group assigned are incorrect.  Or if you are a root user, you can use sudo sudo ckan -c /etc/ckan/default/ckan.ini db initIf you forget this step you'll see a 500 server error: 503 Service Unavailable: This site is currently offline. The database is not initialised.   Cleaning your...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
Accessing a remote server using PEM key, and I had the following...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search functionality Tools Drupal 9.4 React     The sample sent through from the front-end is as follows: https://localhost/search?keyword=&sort=changed&type=%20CommissionerHowever, to run requests, the keyword requires a string.  Such as searching the word 'committee'. https://localhost:8006/search?keyword=committeeIf no keyword is entered, the response will be empty. No results found for "".How to...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a file. Using a symbol : is a shell built-in command that is essence equivalent to the true command and it can be used as a no-op (no operation).  It can be used as follows: # : > filename.txtOR  # true > filename.txt  My initial file was as follows: 21548342 16 Mar 20:27 code.logPost using the command  : > filename.txtThe response was  0 16 Mar 20:27...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this...
Andrew Fletcher
  Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your...