- heroku cli (logged in)
- git
- curl
- wget
- tar are required
- ~ openssl is required to generate the secret_key, but you're free to use what you want
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import supabase from '$lib/db'; | |
import * as cookie from 'cookie'; | |
import { TwitterApi } from 'twitter-api-v2'; | |
const twitterClient = new TwitterApi({ | |
appKey: 'xxx', | |
appSecret: 'xxxxx' | |
}); |
Vagrant box of caliopen avaliable here https://vagrantcloud.com/dey/caliopen_full-ubuntu-14.04
Search and replace in include/_VagrantFile(:
config.vm.provider :virtualbox do |vb|
# # Don't boot with headless mode
# vb.gui = true
#
# # Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "2048"]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Source http://contrib.spip.net/Export-Spip-vers-Wordpress | |
-- Imports terms | |
REPLACE INTO wp_terms(term_id, name, slug, term_group) | |
SELECT id_rubrique, titre, CONCAT("rub",id_rubrique), 1 FROM spip_rubriques; | |
-- Update urls | |
UPDATE wp_terms, spip_urls |