Attempted
to create a lock file on a read-only directory: /data/db, terminating
sudo chmod -R go+w /data/db
Attempted
to create a lock file on a read-only directory: /data/db, terminating
sudo chmod -R go+w /data/db
root = true | |
charset = utf-8 | |
[*] | |
tab_width = 4 | |
indent_style = tab | |
indent_size = 4 | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
end_of_line = lf |
'use strict' | |
const { exec } = require ('child_process') | |
try { | |
const express = require ('express') | |
const ejs = require ('ejs') | |
var app = express () | |
app.listen (8080) | |
} catch (e) { |
Ранее, я писал о админке для mongodb
, но как оказалось, есть намного круче интерфейс.
$ git clone https://github.com/mrvautin/adminMongo.git
var request = require ('request')
request ({
url: 'https://raw.githubusercontent.com/rateljs/plugin/master/package.json',
json: true
}, (error, response, body) => {
!error && response.statusCode === 200
? log (body)
: log (error)
I also i use this