$ git clone https://github.com/AbdelrahmanSadat/SMS.gitThe boilerplate uses two package.json files. One in the main or uppermost directory, and the other in /app
$ yarnAnd
$ cd /app
$ yarnWe prefer yarn, but if you're using npm:
$ npm installStart the app in the dev environment. This starts the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:
yarn devTo package apps for the local platform:
yarn package- Make sure to set the values of the CODES constants appropriately before running the app in production (mac&env).
See our docs and guides here
- Make sure to install sequelize and sqlite3 in the app dir
- In the webpack.config file, add 'pg','tedious','pg-hstore' to the externals array (hotfix hack thingy for sequelize)
- Fix the unterminated comment in WrapperLodash (in the lodash dep.)
- Add the semantic-ui-css missing theme if its's missing (Just copy it from their repo or a previous project)
- Yarn postinstall (rebuilds and shit)
Make sure to check our issues section for any other problems