Skip to content

ayoubbouali/softway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starting application

Tools

The tools that you'll need for developping on this project are :

Starting Database service

  1. Mount the DOCKER image :

docker run -dit -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=$mySecretPassw0rd$' --name 'msqls' -p 1433:1433 -d mcr.microsoft.com/mssql/server

  1. Wait for the msqls image to finish booting :

docker logs msqls

  1. Start an interactive shell session inside the msqls container :

docker exec -it msqls bash

  1. Connect to our Microsoft SQL Server instance :

/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P '$mySecretPassw0rd$'

  1. Once connected, create the database using the following SQL command :

CREATE DATABASE Softway Then type GO in the next prompt hit enter to run your SQL query

Starting softway API service:

To start softway API service, you can start it from your IDE, by running the MAIN SpringBoot class.

Or you can go to softway-back folder and run mvn spring-boot:run in a terminal.

Starting softway front APP:

To start softway front APP, go to softway-front folder, open a terminal and install required packages by runnnig : npm install or yarn install.

once packages are installed, you can start the local DEV server with the command npm start or yarn start.

NB : it's important that you use one of these commands, to make sure you are using the proxy configuration when launching the dev server.

once all done. you can access application on localhost:4200.

About

système d'information hospitalier d'auto-diagnostic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors