• All steps to a clean OVH VPS install
• Script to make a VPS more secure(This Gist)
• Scripts to install Potherca projects on OVH VPS
In 2019 I moved various web-apps I have created to a VPS (hosted by OVH).
In 2019 I moved various web-apps I have created to a VPS (hosted by OVH).
#!/bin/bash | |
# Minecraft (Spigot) server build script (written by Clay Freeman) | |
# License: http://creativecommons.org/licenses/by-sa/4.0/ | |
# To use this script: | |
# wget -qO- https://gist.github.com/ClayFreeman/a4dae9b7d0fa2c6476eb/raw | sh | |
echo |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: > | |
Constructs a managed IAM policy to deploy a serverless project. | |
This template assumes the stack is being deployed in the current region and account. | |
You can then attach this policy to other IAM objects, such as users or roles. | |
Based on the work done in: https://github.com/serverless/serverless/issues/1439 |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" | |
"strconv" |
const spawn = require('cross-spawn'); | |
const readline = require('readline').createInterface({ | |
input: process.stdin, | |
output: process.stdout, | |
}); | |
const getNetsuiteDomain = require('./rest.js'); | |
/** | |
* @param {Config} config The configuration object |
Dear deployd community,
The day has come, deployd is now stable enough to be released as a major version.
This is a big deal for all of us. It means:
It took a while because we wanted to refactor the core module before releasing 1.0.0.
We extracted the dpd CLI, the dashboard and the clientlib from the core module (deployd
).
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'Cloudformation stack to manage permission to deploy a serverless service' | |
Parameters: | |
ServiceName: | |
Description: Name of the Service you want to deploy | |
Type: String | |
ServiceName2: | |
Description: Name of the 2nd Service you want to deploy |
STACK:=myapp-dev | |
TEMPLATE:=cloudformation-template_vpc-iam.yml | |
PARAMETERS:=cloudformation-parameters_myapp-dev.yml | |
AWS_REGION:=eu-west-1 | |
AWS_PROFILE:=aws-dev | |
all: | |
@which aws || pip install awscli | |
aws cloudformation create-stack --stack-name $(STACK) --template-body file://`pwd`/$(TEMPLATE) --parameters file://`pwd`/$(PARAMETERS) --capabilities CAPABILITY_IAM --profile $(AWS_PROFILE) --region $(AWS_REGION) |
"use strict"; | |
/** | |
* Module dependencies | |
*/ | |
var Resource = require('deployd/lib/resource'), | |
util = require('util'), | |
path = require('path'), | |
debug = require('debug')('dpd-fileupload'), | |
formidable = require('formidable'), |
$ curl -O https://gist.githubusercontent.com/NicolasRitouet/33d9582c7ce2a39148b8/raw/0d00d0c1deb4c478dc2a942f1ae49cc7a6f7f1d2/changelog.js
$ git fetch origin # To get all tags
$ npm i qq
$ node changelog.js v0.8.10 (target release)
$ copy content to HISTORY.md
$ rm changelog.js
$ bump version in package.json
$ git ac "Bump to v0.8.10"
$ git push origin master