From 64cd23dbfc702ea67858d90605792a16ae038852 Mon Sep 17 00:00:00 2001 From: Jules Date: Tue, 26 Dec 2017 04:10:43 -0500 Subject: readme --- README | 24 ++++++++++++++++++++++-- sample-env | 11 +++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 sample-env diff --git a/README b/README index 0b618a9..1192253 100644 --- a/README +++ b/README @@ -1,2 +1,22 @@ -luckyplop -========= +# plop + +Standalone drag-and-drop image upload website. + +## Installation + +Create a MySQL database and user for this project. + +``` +npm install +./node_modules/.bin/knex migrate:latest +pm2 start index.js --name plop +``` + +## Building the javascript + +``` +grunt +``` + +The app.min.js file should already be in git for convenience. + diff --git a/sample-env b/sample-env new file mode 100644 index 0000000..cec1968 --- /dev/null +++ b/sample-env @@ -0,0 +1,11 @@ +DB_HOST=localhost +DB_NAME=plop +DB_USER=plop +DB_PASS= +HOST_NAME=lvh.me +PORT=5000 +S3_KEY= +S3_SECRET= +S3_BUCKET= +S3_DIR=/p/ + -- cgit v1.2.3-70-g09d2 From 68ee9257337b49d3e42b9810c7837520b1200ebf Mon Sep 17 00:00:00 2001 From: Jules Date: Tue, 26 Dec 2017 04:11:15 -0500 Subject: readme --- README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README b/README index 1192253..2afd9f0 100644 --- a/README +++ b/README @@ -6,6 +6,10 @@ Standalone drag-and-drop image upload website. Create a MySQL database and user for this project. +`cp sample-env .env` and edit accordingly. + +Install all the modules and spin it up: + ``` npm install ./node_modules/.bin/knex migrate:latest -- cgit v1.2.3-70-g09d2 From 0839d2d4e87e71a73f13d486812c056f6c6cc55f Mon Sep 17 00:00:00 2001 From: Jules Date: Tue, 26 Dec 2017 04:14:28 -0500 Subject: deplop --- public/index.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/public/index.html b/public/index.html index 1e464ae..773df9a 100644 --- a/public/index.html +++ b/public/index.html @@ -1,15 +1,13 @@ -plop +Platsch -
-
@@ -22,8 +20,6 @@
- - -- cgit v1.2.3-70-g09d2