SMS (School/Course Managment System)
Install
Clone or download the repository in your work directory
$ git clone https://github.com/AbdelrahmanSadat/SMS.git
Install Dependencies
The boilerplate uses two package.json files. One in the main or
uppermost directory, and the other in /app
$ yarn
And
$ cd /app
$ yarn
We prefer yarn, but if you're using npm:
$ npm install
Starting Development
Start 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 dev
Packaging for Production
To package apps for the local platform:
yarn package
Production Codes
- Make sure to set the values of the CODES constants appropriately
before running the app in production (mac&env).
Docs
See our docs and guides here
Common Issues
- 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