GenSys === ![screencapture](https://i.imgur.com/sP9dQwf.gif) >employer page ## Table of Contents [TOC] ## Installation Setup GenSys for Development 1. You must have [node.js] installed 2. Pull from [GenSys' Repository] `develop` branch. 3. Open CMD and `cd` to `/backend` and execute `npm i` 4. Do the same on `/frontend` 5. After the successful setup please run the `create_blank.bat` on the `/schema`. Post-Installation Setup --- #### Schema default password for system accounts were `passkey1234` #### Database Credentials Kindly edit `backend/config/default.json` file. * hris_installation: the path to the nbs' HRIS * db_name: gensys by default * post: depends on your mysql port ```json= { "hris_installation": "D:/Projects/northeast/applications", "subreport_path": "D:\\Projects\\gensys\\backend\\reports\\", "database": { "host": "localhost", "port": 3308, "dialect": "mysql", "db_name": "gensys", "db_user_name": "root", "db_password": "", "pool": { "max": 5, "min": 0, "acquire": 30000, "idle": 10000 } }, "smtp": { "host": "smtp.gmail.com", "email_address": "alcamasis@gmail.com", "port": "587", "from": "Al Camasis", "password": "**********" }, "reports_connection":{ "host": "localhost", "port": 3308, "dbname": "gensys", "user": "root", "pass": "", "jdbc": "jdbc:mysql: //127.0.0.1:3308/gensys?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC", "driver": "mysql" }, "app": { "port": 4203 }, "private_key": "$2y$10$YL7mHu7Dc2jW0QS0dBheYOxVqIRqTOfl46wHUDymMASIyI9UgBUfy" } ``` Running the server up --- Each folder on the repo has the `start.bat`. Run and wait for angular's compilation and nodemon's server setup. In their CMD windows also declared their URL's to be able to access the GenSys. [node.js]: <https://nodejs.org/dist/v10.16.0/node-v10.16.0-x64.msi> [GenSys' Repository]: <http://222.127.149.154:1975/scm/git/gensys>