Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pixnwave@localhost:~$ ls
- Documents do.doc dodoc-mqe
- pixnwave@localhost:~$ mkdir dodoc-stable
- pixnwave@localhost:~$ cd dodoc-stable
- pixnwave@localhost:~/dodoc-stable$ git clone https://github.com/l-atelier-des-chercheurs/dodoc.git dodoc-s1
- Cloning into 'dodoc-s1'...
- remote: Enumerating objects: 50839, done.
- remote: Counting objects: 100% (3354/3354), done.
- remote: Compressing objects: 100% (701/701), done.
- remote: Total 50839 (delta 2885), reused 3100 (delta 2651), pack-reused 47485
- Receiving objects: 100% (50839/50839), 215.93 MiB | 23.07 MiB/s, done.
- Resolving deltas: 100% (32285/32285), done.
- pixnwave@localhost:~/dodoc-stable$ cd dodoc-s1
- pixnwave@localhost:~/dodoc-stable/dodoc-s1$ git checkout dodoc2-node
- Branch 'dodoc2-node' set up to track remote branch 'dodoc2-node' from 'origin'.
- Switched to a new branch 'dodoc2-node'
- pixnwave@localhost:~/dodoc-stable/dodoc-s1$ npm install
- npm WARN deprecated har-validator@5.1.5: this library is no longer supported
- npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
- npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
- npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
- npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
- npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
- npm WARN deprecated node-pre-gyp@0.15.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
- added 486 packages, and audited 487 packages in 16s
- 20 packages are looking for funding
- run `npm fund` for details
- 5 high severity vulnerabilities
- Some issues need review, and may require choosing
- a different dependency.
- Run `npm audit` for details.
- pixnwave@localhost:~/dodoc-stable/dodoc-s1$ cd public
- pixnwave@localhost:~/dodoc-stable/dodoc-s1/public$ npm install
- npm WARN EBADENGINE Unsupported engine {
- npm WARN EBADENGINE package: 'webrtc-adapter@1.4.0',
- npm WARN EBADENGINE required: { npm: '~3.0.0' },
- npm WARN EBADENGINE current: { node: 'v12.18.3', npm: '7.5.4' }
- npm WARN EBADENGINE }
- added 1344 packages, and audited 1411 packages in 14s
- 37 vulnerabilities (4 low, 11 moderate, 21 high, 1 critical)
- To address issues that do not require attention, run:
- npm audit fix
- To address all issues possible (including breaking changes), run:
- npm audit fix --force
- Some issues need review, and may require choosing
- a different dependency.
- Run `npm audit` for details.
- pixnwave@localhost:~/dodoc-stable/dodoc-s1/public$ npm run build
- > dodoc2@0.1.0 build
- > cross-env NODE_ENV=production browserify -g envify -e src/main.js | uglifyjs -c warnings=false -m > dist/build.js
- pixnwave@localhost:~/dodoc-stable/dodoc-s1/public$ cd ../
- pixnwave@localhost:~/dodoc-stable/dodoc-s1$ cp settings.example.json settings.json
- pixnwave@localhost:~/dodoc-stable/dodoc-s1$ nano settings.json
- pixnwave@localhost:~/dodoc-stable/dodoc-s1$ npm run debug
- > dodoc@9.1.0 debug
- > node --inspect . --debug --debug --verbose
- Debugger listening on ws://127.0.0.1:9229/286b8ab7-534c-4bbf-8ee4-d4c622f6006b
- For help, see: https://nodejs.org/en/docs/inspector
- INDEX / found override settings.json
- [22:25:38] Sockets module initialized at 20210429_222538
- App is electron : false
- Starting app dodoc
- {
- node: '12.18.3',
- v8: '7.8.279.23-node.39',
- uv: '1.38.0',
- zlib: '1.2.11',
- brotli: '1.0.7',
- ares: '1.16.0',
- modules: '72',
- nghttp2: '1.41.0',
- napi: '6',
- llhttp: '2.0.4',
- http_parser: '2.9.3',
- openssl: '1.1.1g',
- cldr: '37.0',
- icu: '67.1',
- tz: '2019c',
- unicode: '13.0'
- }
- Init module with debug = true and verbose = true
- Debug mode is Enabled
- ---
- [22:25:38] ~ (log) magenta is for functions
- [22:25:38] * (log) green is for packets
- [22:25:38] - (dev and verbose) gray for regular parsing data
- Not logging to a file
- [22:25:38] ——— Starting app version 9.1.0
- [22:25:38] Emptying temp folder /home/pixnwave/.cache/dodoc_cache
- [22:25:38] Content folder dodoc-s1 does not already exists in /home/pixnwave/Documents
- [22:25:38] ->duplicating user to create a new one
- [22:25:39] Will store contents in: /home/pixnwave/Documents/dodoc-s1
- [22:25:39] main.js - Found available port: 1337
- [22:25:39] - Starting server 1
- [22:25:39] - Starting server 2
- [22:25:39] Initializing socket module
- [22:25:39] - Starting express-settings
- [22:25:39] server-realtime_text_collaboration • init
- [22:25:39] server-realtime_text_collaboration • ws init
- [22:25:39] ~ REMOTE_API — _initRemoteApi
- [22:25:39] Server up and running. Go to https://localhost:1337
- [22:25:39]
- ^C
- pixnwave@localhost:~/dodoc-stable/dodoc-s1$ pm2 restart dodoc-stable
- Use --update-env to update environment variables
- [PM2] Applying action restartProcessId on app [dodoc-stable](ids: [ 1 ])
- [PM2] [dodoc-stable](1) ✓
- ⇆ PM2+ activated | Instance Name: localhost-0392 | Dash: https://app.pm2.io/#/r/evdxe6sw5iz0l2z
- ┌─────┬─────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
- │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
- ├─────┼─────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
- │ 0 │ dodoc │ default │ 0.35.2 │ fork │ 45532 │ 23h │ 1 │ online │ 0% │ 52.4mb │ pixnwave │ disabled │
- │ 1 │ dodoc-stable │ default │ 0.35.2 │ fork │ 54908 │ 0s │ 3 │ online │ 0% │ 25.2mb │ pixnwave │ disabled │
- └─────┴─────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement