set repo=\\serverName\share\repos\myRepo.git
mkdir %repo%
pushd %repo%
git --bare init --shared
popd
# Manifest syntax https://docs.python.org/2/distutils/sourcedist.html | |
graft wheelhouse | |
recursive-exclude __pycache__ *.pyc *.pyo *.orig | |
exclude *.js* | |
exclude *.git* | |
exclude *.coveragerc | |
exclude *.sh | |
exclude proc* |
from setuptools import Command | |
import shlex | |
import subprocess | |
import os | |
WHEELHOUSE = "wheelhouse" | |
class Package(Command): | |
"""Package Code and Dependencies into wheelhouse""" |
from setuptools import find_packages, setup | |
from package import Package | |
setup( | |
name='packagename', | |
url='http://example.com/packagename' | |
author='Author Name', | |
author_email='author@example.com', | |
packages=find_packages(), | |
include_package_data=True, |
Don't use snap on Ubuntu! It will be hard to get help, diagnose issues - because it's not a widely used environment.
Taken from https://docs.docker.com/engine/install/ubuntu/
sudo su
apt-get update
apt-get install \
apt-transport-https \
server: | |
sudo su | |
apt update | |
apt install -y nfs-kernel-server | |
mkdir -p /mnt/nfsdir | |
chown nobody:nogroup /mnt/nfsdir | |
chmod 777 /mnt/nfsdir | |
vim /etc/exports | |
add a line: /mnt/nfsdir CLIENT_IP_HERE(rw,sync,no_subtree_check) |