Giter Site home page Giter Site logo

docker's Introduction

Novo SGA

Support queue management system.

Installation

Via Composer

Create project:

composer create-project "novosga/novosga:^2.1" novosga2

Run app installation command and follow instructions:

export APP_ENV=prod
export LANGUAGE=pt_BR
export DATABASE_URL="mysql://user:pass@localhost:5432/novosgadb"

bin/console novosga:install

Via Docker

Documentation in the Novo SGA official docker repository.

Via Git

Clone repository:

git clone https://github.com/novosga/novosga.git novosga2

Then follow Composer install instruction.

Automated installation

To automated installation you need to set up the following environment variables before run novosga:install command:

Database

  • DATABASE_URL

Default administrator user

  • NOVOSGA_ADMIN_USERNAME
  • NOVOSGA_ADMIN_PASSWORD
  • NOVOSGA_ADMIN_FIRSTNAME
  • NOVOSGA_ADMIN_LASTNAME

Default unity

  • NOVOSGA_UNITY_NAME
  • NOVOSGA_UNITY_CODE

Default priority 0

  • NOVOSGA_NOPRIORITY_NAME
  • NOVOSGA_NOPRIORITY_DESCRIPTION

Default priority 1

  • NOVOSGA_PRIORITY_NAME
  • NOVOSGA_PRIORITY_DESCRIPTION

Default attendance place

  • NOVOSGA_PLACE_NAME

docker's People

Contributors

adivinaelnombre avatar edupoli avatar rogeriolino avatar somatorio avatar suportecri1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

Websocket server

Start websocket server.

Script Argument
/var/www/html/bin/console novosga:websocket start

Idea:

Change image entrypoint/command to supervisor service and put two supervidor conf files to starts apache2-foreground and websocket script.

CMD ["/usr/bin/supervisord"]

/etc/supervisor/conf.d/apache2.conf

[program:apache2]
command = docker-php-entrypoint apache2-foreground

/etc/supervisor/conf.d/websocket.conf

[program:websocket-server]
command = /var/www/html/bin/console novosga:websocket start

Timezone support

To provide easy way to configure PHP timezone.

Example:

Create novosga.ini file into /usr/local/etc/php/conf.d with date.timezone value from environment variable.

start.sh: not found

Hello guys, I'm getting the following error after building this image (using docker toolbox):

# docker build -t novosga:built .
# docker-compose up

novosga_1 | /usr/local/bin/docker-php-entrypoint: 9: exec: start.sh: not found

docker-compose.yml is the same as in README.md but using novosga:built (obviously).

# docker info

Containers: 5
Running: 0
Paused: 0
Stopped: 5
Images: 36
Server Version: 17.12.0-ce
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 127
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.4.108-boot2docker
Operating System: Boot2Docker 17.12.0-ce (TCL 8.2.1); HEAD : 378b049 - Wed Dec 27 23:39:20 UTC 2017
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995.9MiB
Name: default
ID: KNPW:GVYK:3E7Q:3PHH:5PJP:HQV5:RFE4:TLHE:Q5XO:DBJF:EOEM:L3RV
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 19
Goroutines: 34
System Time: 2018-03-28T04:11:18.753609441Z
EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

Erro ao exibir detalhes da senha no módulo monitor

Boa noite!

Primeiramente, parabéns e obrigado pelo projeto Novo SGA. Utilizamos a versão 1.5.1 em um órgão público de Minas Gerais para atendimento e distribuição de medicamentos de alto custo para a população.

Baixei a versão em docker e ao efetuar alguns testes, percebi que ao acessar o módulo Monitor e clicar sobre uma senha qualquer (quando cadastrado um atendimento informando documento e nome da pessoa), na tabela que exibe as informações, onde deveria estar escrito DOCUMENTO, está escrito NOME, como pode-se observar na imagem abaixo:

2018-10-05 22_59_01-monitor_ novo sga ce

Além disso, a data da chegada está sendo exibida sem a indicação AM/PM ou com o horário errado mesmo, já que nesse teste, a hora da chegada deveria ser 22:53:31.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.