OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ConfigMongoDBNoAuth.cpp File Reference

Functions

void ensureFolderExist (const std::string &path)
 
bool lineStartsWith (const std::string &line, const std::string &pattern)
 
void modifyConfigFile (const std::string &configFile, const std::string &dbPath, const std::string &logPath, const std::string &bindIp)
 
bool setPermanentEnvironmentVariable (const char *value, const char *data)
 
void setAdminPassword (const std::string &password, const std::string &jsFile)
 
int main (int argc, char **argv)
 

Function Documentation

◆ ensureFolderExist()

void ensureFolderExist ( const std::string & path)

◆ lineStartsWith()

bool lineStartsWith ( const std::string & line,
const std::string & pattern )

◆ main()

int main ( int argc,
char ** argv )

◆ modifyConfigFile()

void modifyConfigFile ( const std::string & configFile,
const std::string & dbPath,
const std::string & logPath,
const std::string & bindIp )

◆ setAdminPassword()

void setAdminPassword ( const std::string & password,
const std::string & jsFile )

◆ setPermanentEnvironmentVariable()

bool setPermanentEnvironmentVariable ( const char * value,
const char * data )