Browse Source

converted to dtp-libertylinks

master
Rob Colbert 2 years ago
parent
commit
a069d4ef1a
  1. 1
      .gitignore
  2. 21
      .vscode/launch.json
  3. 0
      dtp-libertylinks-cli.js
  4. 0
      dtp-libertylinks.code-workspace
  5. 0
      dtp-libertylinks.js
  6. 6
      gulpfile.js
  7. 12
      package.json
  8. 6
      start-local

1
.gitignore

@ -1,4 +1,5 @@
.env
data/minio
node_modules
dist

21
.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": [
"<node_internals>/**"
],
"program": "${workspaceFolder:dtp-libertylinks}/dtp-libertylinks.js",
"console": "integratedTerminal",
"env": {
"HTTP_BIND_PORT": "3333"
}
}
]
}

0
dtp-sites-cli.js → dtp-libertylinks-cli.js

0
dtp-sites.code-workspace → dtp-libertylinks.code-workspace

0
dtp-sites.js → dtp-libertylinks.js

6
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',

12
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",

6
sites-start-local → 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
forever stop app/workers/host-services.js
Loading…
Cancel
Save