Skip to content

Instantly share code, notes, and snippets.

View uwekamper's full-sized avatar
🤩
Happy happy, joy joy!

Uwe Kamper uwekamper

🤩
Happy happy, joy joy!
View GitHub Profile
@uwekamper
uwekamper / traceback.txt
Created June 13, 2018 22:25
traceback ftp lektor python3
lektor deploy --username xxxxxx --password xxxxxx
/Users/uk/.virtualenvs/xxxxxx/bin/../lib/python3.6/site.py:165: DeprecationWarning: 'U' mode is deprecated
f = open(fullname, "rU")
Deploying to production
Build cache: /Users/uk/Library/Caches/Lektor/builds/ac23d873bd37ecb20fdd544088809b91
Target: ftps://xxxxxx/
000 Connecting to server ...
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 00:23. Server port: 21.
models/myattachment.ini:
----------------------
[model]
name = MyAttachment
label = MyAttachment
hidden = no
[fields.description]
label = Description
type = string
@uwekamper
uwekamper / Dockerfile
Created October 5, 2018 11:40
Dockerfile for lektor with webpack
# Build with:
# docker build -t <projectname> .
# Run with windows, untested:
# docker run --rm -it -v %cd%:/data -v /data/webpack/node_modules -p 5000:5000 -it <projectname> lektor server -f webpack --host 0.0.0.0
# Run on Uunix:
# docker run --rm -it -v $(pwd):/data -v /data/webpack/node_modules -p 5000:5000 -it <projectname> lektor server -f webpack --host 0.0.0.0
FROM python:3.6.1