From a069d4ef1a0a72af4c42e97cb5d9d5a47de672e7 Mon Sep 17 00:00:00 2001 From: rob Date: Thu, 16 Dec 2021 04:20:14 -0500 Subject: [PATCH] converted to dtp-libertylinks --- .gitignore | 1 + .vscode/launch.json | 21 +++++++++++++++++++ dtp-sites-cli.js => dtp-libertylinks-cli.js | 0 ...rkspace => dtp-libertylinks.code-workspace | 0 dtp-sites.js => dtp-libertylinks.js | 0 gulpfile.js | 6 +++--- package.json | 12 +++++------ sites-start-local => start-local | 6 +++--- 8 files changed, 34 insertions(+), 12 deletions(-) create mode 100644 .vscode/launch.json rename dtp-sites-cli.js => dtp-libertylinks-cli.js (100%) rename dtp-sites.code-workspace => dtp-libertylinks.code-workspace (100%) rename dtp-sites.js => dtp-libertylinks.js (100%) rename sites-start-local => start-local (53%) diff --git a/.gitignore b/.gitignore index 9e9b214..6d508a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .env +data/minio node_modules dist diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..9dc9c56 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "pwa-node", + "request": "launch", + "name": "web:libertylinks", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder:dtp-libertylinks}/dtp-libertylinks.js", + "console": "integratedTerminal", + "env": { + "HTTP_BIND_PORT": "3333" + } + } + ] +} \ No newline at end of file diff --git a/dtp-sites-cli.js b/dtp-libertylinks-cli.js similarity index 100% rename from dtp-sites-cli.js rename to dtp-libertylinks-cli.js diff --git a/dtp-sites.code-workspace b/dtp-libertylinks.code-workspace similarity index 100% rename from dtp-sites.code-workspace rename to dtp-libertylinks.code-workspace diff --git a/dtp-sites.js b/dtp-libertylinks.js similarity index 100% rename from dtp-sites.js rename to dtp-libertylinks.js diff --git a/gulpfile.js b/gulpfile.js index c041b9d..83e325e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -28,8 +28,8 @@ function util_start_browsersync ( ) { host: 'localhost', open: 'local', // https: { - // key: path.join(__dirname, 'ssl', 'dtp-sites.key'), - // cert: path.join(__dirname, 'ssl', 'dtp-sites.crt'), + // key: path.join(__dirname, 'ssl', 'dtp-libertylinks.key'), + // cert: path.join(__dirname, 'ssl', 'dtp-libertylinks.crt'), // }, port: 3333, cors: true, @@ -252,7 +252,7 @@ function dtp_watch_client (done) { function dtp_develop (done) { var isFirst = true; nodemon({ - script: 'dtp-sites.js', + script: 'dtp-libertylinks.js', verbose: false, watch: [ './*.js', diff --git a/package.json b/package.json index a189c7e..2aa1b04 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "dtp-sites", - "version": "0.1.2", - "description": "Open source blogging engine for the Digital Telepresence Platform.", - "main": "dtp-sites.js", + "version": "0.1.0", + "description": "bringing people together.", + "main": "dtp-libertylinks.js", "author": "Digital Telepresence, LLC", - "license": "Apache-2.0", + "license": "LicenseRef-LICENSE", "private": true, "scripts": { - "start": "node dtp-sites.js", - "dev": "nodemon dtp-sites.js" + "start": "node dtp-libertylinks.js", + "dev": "nodemon dtp-libertylinks.js" }, "dependencies": { "@fortawesome/fontawesome-free": "^5.15.4", diff --git a/sites-start-local b/start-local similarity index 53% rename from sites-start-local rename to start-local index e7691da..b4483b6 100755 --- a/sites-start-local +++ b/start-local @@ -1,11 +1,11 @@ #!/bin/bash -MINIO_ROOT_USER="sites" -MINIO_ROOT_PASSWORD="1f1c7c9b-b833-4462-ae41-d56f52faa49c" +MINIO_ROOT_USER="libertylinks" +MINIO_ROOT_PASSWORD="7db281be-0cd2-497e-b759-c74c3d35e274" export MINIO_ROOT_USER MINIO_ROOT_PASSWORD forever start app/workers/host-services.js minio server ./data/minio --console-address ":9001" -forever stop app/workers/host-services.js \ No newline at end of file +forever stop app/workers/host-services.js