Permission Cheat Sheet
You will use this one a lot in Wordpress :P
chown -R www-data:www-data ./
// set the proper owner
Permission Cheat Sheet
You will use this one a lot in Wordpress :P
chown -R www-data:www-data ./
// set the proper owner
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
# Dockerfile for Node-RED - pulls latest master code from git | |
# Use the node.js v0.10.36 engine | |
FROM node:0.12-slim | |
MAINTAINER ceejay | |
# download latest stable node-red | |
RUN npm install -g node-red | |
# use external storage for the user directory | |
VOLUME /root/.node-red |