Skip to content

Scaffold for electron packaging of Mongoclient, can be used with most of the MeteorJS applications

License

Notifications You must be signed in to change notification settings

nosqlclient/nosqlclient-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nosqlclient, Electron Packaging Scaffold

Scaffold for electron packaging of Nosqlclient, can be used with the MeteorJS applications

Steps

  1. Bundle nosqlclient with command: meteor build --server --directory <output> and put contents into app folder. (app folder should have programs, server etc..)
  2. Copy contents of C:\Users\Sercan\AppData\Local\.meteor\packages\meteor-tool\<version>\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules to app\programs\server\node_modules
  3. Copy Node (4.8.4) to bin folder
  4. Copy Mongod (>= 3.2.6) to bin folder
  5. Run npm install on scaffold directory

Steps to RUN directly

  • Run: npm install -g electron
  • Run: electron .

Steps to PACKAGE

  • Run: npm install -g electron-packager
  • Run: electron-packager . Nosqlclient --appVersion=2.0.0 --buildVersion=2.0.0 --icon=D:\git\mongoclient_packaged\app\programs\web.browser\app\logo\head.ico --overwrite --out=D:\git\mongoclient_packaged\packaged --electronVersion=1.7.5

Steps to AFTER-PACKAGE - Optional for short and clean paths, especially on Windows build)

  • Run: npm install -g modclean@1.2.7
  • Run: cd my/app/path/resources/app
  • Run: modclean -n default:safe,default:caution

License

Licensed under AGPL v3.0

About

Scaffold for electron packaging of Mongoclient, can be used with most of the MeteorJS applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published