developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
430
results
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
•
Supervisor running as root error when running the command
sudo service...
Andrew Fletcher
•
Supervisor running as root error when running the command
sudo service...
Andrew Fletcher
•
Listen in on the ports being used on your server. To do so, run the...
Andrew Fletcher
•
Error with Nginx
When running an Nginx test, the following response was being...
Andrew Fletcher
•
The following the CKAN source install docs from start to finish including solr. At this point, the site should load but you'll get solr errors. Make the following solr updates:
Go the the directory
/etc/systemd/systemCheck if there is a directory jetty9.service.d. In my situation there was, but if it doesn't exist
sudo mkdir /etc/systemd/system/jetty9.service.dNow review or add a file solr.conf with
[Service]
ReadWritePaths=/var/lib/solrsudo nano /etc/solr/solr-jetty.xml and...
Andrew Fletcher
•
What I'm seeing in Android Studio when attempting to run the...
Andrew Fletcher
•
Explain public, private, protected functions and variables inside a class in...
Andrew Fletcher
•
Assuming there is a new field requiring a change on a content type. How do you...
Andrew Fletcher
•
Replicate
Replicate the bug in your local environment.
Check
Check - do you have...
Andrew Fletcher
•
2 or 3 approaches to build a homepage or landing page through Drupal
Please include any limitations & considerations of each approach
Building a homepage a few options to consider and should against a business case:
1. Article
An article – create a new node (assuming a least one content type exists), then using Basic Site Settings (admin > config > system), scroll down to Front Page and enter the node.nid value or alias.
Pros:
Fast to apply
Cons:
Limited to only having one...
Andrew Fletcher
•
Drupal cache is one of the major subsystems that deliver Drupal's flexibility...
Andrew Fletcher
•
Android Studio error
Installation did not succeed.
The application could not be...
Andrew Fletcher
•
Android Studio error
error: package android.support.v4.content does not...
Andrew Fletcher
•
Android Studio build errors
Build failed error: cannot find symbol if...