diff --git a/html/formik.md b/html/formik.md new file mode 100644 index 0000000..9aa3948 --- /dev/null +++ b/html/formik.md @@ -0,0 +1,9 @@ +# formik + +* https://github.com/jaredpalmer/formik + +Install + +``` +npm install formik --save +``` diff --git a/html/formpress.md b/html/formpress.md new file mode 100644 index 0000000..6d86409 --- /dev/null +++ b/html/formpress.md @@ -0,0 +1,13 @@ +# formpress + +Install. + + +``` +sudo apt install docker docker-compose +# set user perms etc for docker +git clone https://gitlab.com/formpress/formpress +cd formpress +cp .env.example .env +docker-compose up +``` diff --git a/html/heyform.md b/html/heyform.md new file mode 100644 index 0000000..d95abc1 --- /dev/null +++ b/html/heyform.md @@ -0,0 +1,60 @@ +# Heyform + +* https://docs.heyform.net/open-source/self-hosting + +# Install + +Needs docker + +``` +sudo apt install docker docker-compose +``` + +Set up a `docker-compose.yml` file: + +``` +networks: + keydb: + mongo: + +services: + heyform: + image: heyform/community-edition:latest + restart: always + volumes: + # Persist uploaded images + - ./assets:/app/static/upload + depends_on: + - mongo + - keydb + ports: + - '9513:8000' + environment: + APP_HOMEPAGE_URL: http://form.yourcompany.com + SESSION_KEY: key1 + FORM_ENCRYPTION_KEY: key2 + MONGO_URI: 'mongodb://mongo:27017/heyform' + REDIS_HOST: keydb + REDIS_PORT: 6379 + + mongo: + image: percona/percona-server-mongodb:4.4 + restart: always + volumes: + # Persist MongoDB data + - ./database:/data/db + + keydb: + image: eqalpha/keydb:latest + restart: always + command: keydb-server --appendonly yes + volumes: + # Persist KeyDB data + - ./keydb:/data +``` + +Then run thing: + +``` +docker-compose up -d +``` diff --git a/html/index.html b/html/index.html index b6f2bf9..8ad153d 100644 --- a/html/index.html +++ b/html/index.html @@ -59,51 +59,6 @@ th, td {