Skip to content

jehon/cryptomedic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryptomedic

Renovate enabled workflow

Local links

Application: http://${CRYPTOMEDIC_DEPLOY_WEB_HOST}:${CRYPTOMEDIC_DEPLOY_WEB_PORT}/

Debug: http://${CRYPTOMEDIC_DEPLOY_WEB_HOST}:${CRYPTOMEDIC_DEPLOY_WEB_PORT}/dev/

Local requirements

(to be checked)

  • docker
  • make
  • curl
  • node
sudo apt install docker.io make curl nodejs

Quick install

To start quickly: make start dependencies build data-reset

Command What does it does?
make start will install and start the whole stack
make dependencies install dependencies
make data-reset install data
make stop stop the server
make test launch the tests
make clean clean up generated files
make clean-hard make clean + remove dependencies
make deploy deploy the stack to the production server (env config necessary)
make data-reset To reset the database and files

Notes:

  • All passwords are reset to "p" (see passwords.sql)
  • Available users: thierry, jehon, murshed, readonly, ershad, shetou

Other commands

Command What does it does?
make deploy-test simulate deploy the stack to the production server (env config necessary)
make database-backup create a new 100-base.sql for next run (usefull when creating new data)

Angular

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Attributions

www/static/img/view.svg: Font Awesome by Dave Gandy - https://fortawesome.github.com/Font-Awesome www/static/img/modelbill.svg: https://commons.wikimedia.org/wiki/File:Gnome-accessories-calculator.svg www/static/img/model_consult*.svg: https://commons.wikimedia.org/wiki/File:Physical_Therapy_-_The_Noun_Project.svg adapted www/static/img/modelpayment.svg: https://commons.wikimedia.org/wiki/File:Bills_and_coins.svg www/static/img/model_picture.svg: klepas and the Tango people. - http://klepas.deviantart.com/art/ www/static/img/model_surgery.png: Freepik - https://www.flaticon.com/free-icons/operation-theatre www/static/img/side*.svg https://www.iconfinder.com/icons/2203549/admin_avatar_human_login_user_icon heavily adapted www/static/io/fullscreen.svg: https://icons.getbootstrap.com/icons/fullscreen/ www/static/io/exit.svg: https://icons.getbootstrap.com/icons/fullscreen-exit/