Skip to content

seel93/prosjektOppgaveGruppe2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt text

ProsjektOppgave IINI1010 og IFUD1110 Objektorientert programmering med systemarbeid (2018 VÅR):

Technologies:

  1. .Net core
  2. Angular
  3. Electron
  4. Mysql

Dependencies:

  1. .Net sdk
  2. Angular
  3. Npm/Node
  4. Node
  5. Mysql

Setup

    git clone https://github.com/seel93/prosjektOppgaveGruppe2.git

Setup for UI:

    cd prosjektOppgaveGruppe2/UI

If you dont have Angular CLI installed you can find it here:

    npm install

Setup for Api:

    cd prosjektOppgaveGruppe2/api

If you don't have .net core sdk installed, you can find it here:

    dotnet build

If you dont have mysql on your machine you can find i here

Setup for Database:

    mysql -u <your-username> -p < setup_init.sql

The password should be: "password123" which is the password we have set in appsettings.json

#Adding data to the database: Navigate to /db, then run:

    mysql -u <your-username> -p < dummyData.sql

Running the App:

UI:

    ng build 
    npm run electron

Api:

    dotnet run

Creating a runnable file for the electron App:

    ng build 
    npm run package

There should appear a folder containing all the files for the app including a .exe or similar file for other plattforms

Known issues:

The electron application, does currentlety not suppoert refresh