Skip to content

Conversation

@idanstark42
Copy link
Member

No description provided.

@idanstark42 idanstark42 requested a review from 2roy999 September 25, 2019 20:32
Copy link
Member

@2roy999 2roy999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are also missing a path in `server.js

const mkdirpAsync = Promise.promisify(mkdirp)

const STORAGE_PATH = exports.STORAGE_PATH = path.resolve('./data/$config.sqlite')
const STORAGE_PATH = exports.STORAGE_PATH = path.resolve(app.getPath('userData'), '$config.sqlite')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add our own folder fll-TMS or something like that

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I shuold use mkdir, right? Where should I do it?

const MONGO_BIN_DIR = path.resolve(`./internals/mongo/bin`)
const MONGO_EXECUTABLE_PATH = path.resolve(MONGO_BIN_DIR, `mongod${FILE_EXTENSION}`)
const MONGO_ARGUMENTS = ['--dbpath', './data/$mongo']
const MONGO_ARGUMENTS = ['--dbpath', path.resolve(app.getPath('userData'), '$mongo')]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment

@2roy999 2roy999 requested a review from taltaub22 October 3, 2019 12:17
@idanstark42 idanstark42 closed this Oct 7, 2019
@idanstark42 idanstark42 reopened this Oct 7, 2019
@idanstark42
Copy link
Member Author

@2roy999 can this be merged?

@alanggreen
Copy link
Contributor

alanggreen commented Oct 17, 2019

@idanstark42 I want to wait till the 1st official release is done.

@ofekashery
Copy link
Member

ofekashery commented Nov 1, 2019

Does it work well in Windows? Because it's broken on macOS.
EDIT: nevermind, it worked out
image

@alanggreen
Copy link
Contributor

alanggreen commented Nov 1, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants