Skip to content
/ surgex Public

💉 Una app para cirugías / A surgeries elixir app

License

Notifications You must be signed in to change notification settings

fiqus/surgex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Surgex

🇦🇷 Aplicación Web de código abierto realizada como donación de 💓 desde Fiqus para los servicios de Cirugía del sector hospitalario de Argentina.

🇬🇧 This is an open sourced web application done as a donation with 💓 from Fiqus to the surgery services of Argentina.

Diagnostics screen Diagnostics screen

Surgery screen Surgery screen

Development

Pre-requisites:

You will have to install:

  • Elixir 1.5 or later
  • Erlang 1.8 or later
  • Node.js 5 or later
  • PostgreSQL

ENV Vars

  • PORT - the port for the web application
  • SMTP_USERNAME - for the mailer
  • SMTP_PASSWORD - for the mailer
  • GUARDIAN_SECRET_KEY - for token generation
  • USER_VERIFICATION_SALT - for user token in the activation email
  • USER_RECOVER_SALT - for user token in the recover email

Start the server

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Test

  • mix test - run the tests
  • mix coverage - for test coverage