Giter VIP home page Giter VIP logo

Comments (3)

SashaSkywalker avatar SashaSkywalker commented on May 20, 2024

Seems like we lost our config.local file

file was like this:

module.exports = {
    apiPort: 3000,
    ...
}

I guess it's still possible to recover file by using this search link
https://github.com/akveo/chernika-server/search?q=config&type=Code&utf8=%E2%9C%93

from chernika-server.

RoxyBoxxy avatar RoxyBoxxy commented on May 20, 2024

Did his get sorted as i can not find it ether

Tryed to make one but it throws errors
`module.exports = {
apiPort: 3000,
}
emailSettings = {
from: Rec
Port: 445,
host: 127.0.0.1
ssl: true,

}
crypto = {
algorithm: sha2,
password: 3db7502d5d,
}

dbSettings ={
host: 127.0.0.1,
port: 5555,
}

ionic = {
appId:0000000000000,
apiSecret:0000000000000,
}

geoNearLimit: 5`

from chernika-server.

disgustingwall avatar disgustingwall commented on May 20, 2024

@krynomore and I worked on this problem. I never tested anything on my machine, but he said that the following config file works (with all content removed but datatypes remaining the same, out of respect for the privacy of @krynomore):

module.exports={
	"apiPort": 0,
	"vkSettings": {
		'appId' : 0,
		'appSecret' : '',
		'language' : ''
	},
	"chatPageSize": 1,
	"emailSettings":{
		"from": "",
		"email": "",
		"port": 0,
		"host": "",
		"ssl": false
	},
	"crypto":{
		"algorithm": "",
		"password": ""
	},
	"photoCropFactor": 0,
	"dbSettings":{
		"host": "",
		"port": ""
	},
	"ionic":{
		"appId": ""
	},
	"withoutPolicy": false,
	"geoNearLimit": 0
}

I believe that I found default values for the "vkSettings" element somewhere on a npmjs.com package after searching for "vkApi". I found https://www.npmjs.com/package/vkapi again today, but it doesn't mention the "language" element and it seems like other content on the page is different from what I remember.
That page also references a github page, and https://github.com/57uff3r/nodejs-vksdk/blob/master/sdk.js#L25 seems to have a full list of options, as it is the default configuration object. It does not seem to have the correct datatype for every option, however.

from chernika-server.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.