Dump existing data:
python3 manage.py dumpdata > datadump.json
Change settings.py to Postgres backend.
Make sure you can connect on PostgreSQL. Then:
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
component: resolv | |
tier: node | |
name: resolv | |
namespace: default | |
spec: | |
selector: |
import { Injectable } from '@angular/core'; | |
import { | |
HttpRequest, | |
HttpHandler, | |
HttpEvent, | |
HttpInterceptor, | |
HttpResponse | |
} from '@angular/common/http'; | |
import { Observable, throwError } from 'rxjs'; | |
import { catchError, tap, } from 'rxjs/operators'; |
I've had to put cx_Oracle (python Oracle database connector) on macOS and Linux, and both processes were similar but poorly documented on Oracle's website.
These instructions were written and tested using the client 12.1. The instructions for any 12.x are the same, but you may need to change 12_1
to 12_2
in commands if you are using version 12.2, etc.
var define, require; | |
(function() { | |
var modules = {}; | |
require = function(name) { | |
return modules[name](); | |
}; | |
define = function(name, fn) { |
#! /usr/bin/perl | |
# ********************************************************* | |
# Invoke the Symplectic Elements API with a get or set call | |
# to a publication item | |
# (/{cat}/records/{source}/{proprietary-id} API method) | |
# using either HTTP GET or PUT (set) depending on arguments. | |
# Usage: | |
# - get/dump : pubitem.pl $id | |
# - set/amend: pubitem.pl $id $xmlfile |
<html> | |
<!-- | |
This is an example of how to make browsers | |
offer to remember password and later fill in those passwords | |
for dynamic login forms. | |
To make the browser offer to remember passwords the form should be actually submitted. | |
Since we are handling login with AJAX we don't want the form to submit, so we are still submitting it | |
into a dummmy iframe with dummy URL. | |
It's good idea to actually create empty dummy.html file, otherwise you'll flood you error.log with 404s |