https://wiki.archlinux.org/api.php?action=feedcontributions&user=Vini&feedformat=atomArchWiki - User contributions [en]2024-03-29T09:22:51ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Stoq&diff=589472Stoq2019-11-20T16:56:18Z<p>Vini: support</p>
<hr />
<div>[[Category:Office]]<br />
[[ja:Stoq]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses [[PostgreSQL]] as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
[[Install]] the {{aur|stoq}} package. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
=== Configure Stoq ===<br />
<br />
After running Stoq for the first time, you will need to configure the database location. In this step there are two options for the client connect to the database:<br />
<br />
* Connect to the database locally;<br />
* Manually configure the database connection.<br />
<br />
==== Connect to the database locally ====<br />
<br />
To connect to the database locall, you must [[install]] the {{Pkg|postgresql}}.<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow the [[PostgreSQL#Initial configuration]] first.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
On the screen "Database location" use the option "I want to use Stoq just on this computer".<br />
<br />
==== Manually configure the database connection ====<br />
<br />
On the screen "Database location" use the option "I want to manually configure the database connection" and fill the details about the database.<br />
<br />
==== Stoq configuration file ====<br />
<br />
The main Stoq configuration file is located at {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Installing stoq-server ===<br />
<br />
[[Install]] the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
=== Configure stoq-server ===<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow the [[PostgreSQL#Initial configuration]] first.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
<br />
* If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
<br />
: {{bc|$ sudo -u postgres -i}}<br />
<br />
* Otherwise:<br />
<br />
: {{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Where:<br />
<br />
* the {{ic|-p}} is the port that PostgreSQL uses to remote conecctions;<br />
* and {{ic|-D}} is the location where the configuration files of stoq-server must be stored.<br />
<br />
Return to the regular user using {{ic|exit}}.<br />
<br />
In order for the stoq-server to be accessible remotely it is necessary to follow the article [[PostgreSQL#Configure PostgreSQL to be accessible from remote hosts|Configure PostgreSQL to be accessible from remote hosts]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Stoq-server configuration file ====<br />
<br />
The main stoqserver configuration file is located at {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://wiki.stoq.com.br/index.php/Getting_started wiki], [https://async.freshdesk.com/support/home support center] and the [https://doc.stoq.com.br/manual/latest/ manual] of Stoq (support center and manual only in Portuguese).</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=589471Stoq (Português)2019-11-20T16:54:35Z<p>Vini: link da central de suporte</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[[ja:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o [[PostgreSQL]] como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Instale]] o pacote {{aur|stoq}}. A instalação da dependência {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nessa etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, consulte [[PostgreSQL#Initial configuration]].<br />
<br />
Em seguida, como o root, [[inicie]] ou [[habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configurações do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Instale]] o pacote {{aur|stoq-server}}. Então [[Usuários e grupos#Exemplo de adicionar um usuário|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, consulte [[PostgreSQL#Initial configuration]].<br />
<br />
Em seguida, como o root, [[inicie]] ou [[habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usuário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
<br />
* Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
<br />
: {{bc|$ sudo -u postgres -i}}<br />
<br />
* Senão:<br />
<br />
: {{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Retorne ao usuário regular usando {{ic|exit}}.<br />
<br />
Para que o stoq-server seja acessível remotamente é necessário seguir o artigo [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts|Configurar o PostgreSQL para ser acessível a partir de hosts remotos]].<br />
<br />
Como root, [[inicie]] ou [[habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configurações do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br wiki], [https://async.freshdesk.com/support/home central de suporte] e o [https://doc.stoq.com.br/manual/latest/ manual] do Stoq.</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=589470Stoq2019-11-20T16:53:29Z<p>Vini: suport center link</p>
<hr />
<div>[[Category:Office]]<br />
[[ja:Stoq]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses [[PostgreSQL]] as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
[[Install]] the {{aur|stoq}} package. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
=== Configure Stoq ===<br />
<br />
After running Stoq for the first time, you will need to configure the database location. In this step there are two options for the client connect to the database:<br />
<br />
* Connect to the database locally;<br />
* Manually configure the database connection.<br />
<br />
==== Connect to the database locally ====<br />
<br />
To connect to the database locall, you must [[install]] the {{Pkg|postgresql}}.<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow the [[PostgreSQL#Initial configuration]] first.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
On the screen "Database location" use the option "I want to use Stoq just on this computer".<br />
<br />
==== Manually configure the database connection ====<br />
<br />
On the screen "Database location" use the option "I want to manually configure the database connection" and fill the details about the database.<br />
<br />
==== Stoq configuration file ====<br />
<br />
The main Stoq configuration file is located at {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Installing stoq-server ===<br />
<br />
[[Install]] the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
=== Configure stoq-server ===<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow the [[PostgreSQL#Initial configuration]] first.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
<br />
* If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
<br />
: {{bc|$ sudo -u postgres -i}}<br />
<br />
* Otherwise:<br />
<br />
: {{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Where:<br />
<br />
* the {{ic|-p}} is the port that PostgreSQL uses to remote conecctions;<br />
* and {{ic|-D}} is the location where the configuration files of stoq-server must be stored.<br />
<br />
Return to the regular user using {{ic|exit}}.<br />
<br />
In order for the stoq-server to be accessible remotely it is necessary to follow the article [[PostgreSQL#Configure PostgreSQL to be accessible from remote hosts|Configure PostgreSQL to be accessible from remote hosts]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Stoq-server configuration file ====<br />
<br />
The main stoqserver configuration file is located at {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://wiki.stoq.com.br/index.php/Getting_started wiki], [https://async.freshdesk.com/support/home suport center] and the [https://doc.stoq.com.br/manual/latest/ manual] of Stoq (suport center and manual only in Portuguese).</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=544313Stoq (Português)2018-09-27T19:32:03Z<p>Vini: Alteracao no artigo do Postgres</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[[ja:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. A instalação da dependência {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nessa etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Initial_configuration|Processo de instalação do PostgreSQL]].<br />
<br />
Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Initial_configuration|Processo de instalação do PostgreSQL]].<br />
<br />
Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Retorne ao usuário regular usando {{ic|exit}}.<br />
<br />
Para que o stoq-server seja acessível remotamente é necessário seguir o artigo [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts|Configurar o PostgreSQL para ser acessível a partir de hosts remotos]].<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br wiki] e o [https://doc.stoq.com.br/manual/latest/ manual] do Stoq.</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=544311Stoq2018-09-27T19:29:51Z<p>Vini: Changes in Postgress article (Initial_configuration)</p>
<hr />
<div>[[Category:Office]]<br />
[[ja:Stoq]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses [[PostgreSQL]] as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
[[Install]] the {{aur|stoq}} package. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
=== Configure Stoq ===<br />
<br />
After running Stoq for the first time, you will need to configure the database location. In this step there are two options for the client connect to the database:<br />
* Connect to the database locally;<br />
* Manually configure the database connection.<br />
<br />
==== Connect to the database locally ====<br />
<br />
To connect to the database locall, you must [[install]] the {{Pkg|postgresql}}.<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow the [[PostgreSQL#Initial_configuration]] first.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
On the screen "Database location" use the option "I want to use Stoq just on this computer".<br />
<br />
==== Manually configure the database connection ====<br />
<br />
On the screen "Database location" use the option "I want to manually configure the database connection" and fill the details about the database.<br />
<br />
==== Stoq configuration file ====<br />
<br />
The main Stoq configuration file is located at {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Installing stoq-server ===<br />
<br />
[[Install]] the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
=== Configure stoq-server ===<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow the [[PostgreSQL#Initial_configuration]] first.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Where:<br />
<br />
* the {{ic|-p}} is the port that PostgreSQL uses to remote conecctions;<br />
* and {{ic|-D}} is the location where the configuration files of stoq-server must be stored.<br />
<br />
Return to the regular user using {{ic|exit}}.<br />
<br />
In order for the stoq-server to be accessible remotely it is necessary to follow the article [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts|Configure PostgreSQL to be accessible from remote hosts]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Stoq-server configuration file ====<br />
<br />
The main stoqserver configuration file is located at {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://wiki.stoq.com.br/index.php/Getting_started wiki] and the [https://doc.stoq.com.br/manual/latest/ manual] of Stoq (manual only in Portuguese).</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=524164Stoq (Português)2018-05-31T15:32:44Z<p>Vini: </p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[[ja:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. A instalação da dependência {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nessa etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|Processo de instalação do PostgreSQL]].<br />
<br />
Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|Processo de instalação do PostgreSQL]].<br />
<br />
Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Retorne ao usuário regular usando {{ic|exit}}.<br />
<br />
Para que o stoq-server seja acessível remotamente é necessário seguir o artigo [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts|Configurar o PostgreSQL para ser acessível a partir de hosts remotos]].<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br wiki] e o [https://doc.stoq.com.br/manual/latest/ manual] do Stoq.</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=524163Stoq2018-05-31T15:32:15Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[ja:Stoq]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses [[PostgreSQL]] as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
[[Install]] the {{aur|stoq}} package. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
=== Configure Stoq ===<br />
<br />
After running Stoq for the first time, you will need to configure the database location. In this step there are two options for the client connect to the database:<br />
* Connect to the database locally;<br />
* Manually configure the database connection.<br />
<br />
==== Connect to the database locally ====<br />
<br />
To connect to the database locall, you must [[install]] the {{Pkg|postgresql}}.<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
On the screen "Database location" use the option "I want to use Stoq just on this computer".<br />
<br />
==== Manually configure the database connection ====<br />
<br />
On the screen "Database location" use the option "I want to manually configure the database connection" and fill the details about the database.<br />
<br />
==== Stoq configuration file ====<br />
<br />
The main Stoq configuration file is located at {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Installing stoq-server ===<br />
<br />
[[Install]] the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
=== Configure stoq-server ===<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Where:<br />
<br />
* the {{ic|-p}} is the port that PostgreSQL uses to remote conecctions;<br />
* and {{ic|-D}} is the location where the configuration files of stoq-server must be stored.<br />
<br />
Return to the regular user using {{ic|exit}}.<br />
<br />
In order for the stoq-server to be accessible remotely it is necessary to follow the article [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts|Configure PostgreSQL to be accessible from remote hosts]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Stoq-server configuration file ====<br />
<br />
The main stoqserver configuration file is located at {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://wiki.stoq.com.br/index.php/Getting_started wiki] and the [https://doc.stoq.com.br/manual/latest/ manual] of Stoq (manual only in Portuguese).</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=518665Stoq2018-04-25T17:06:48Z<p>Vini: new wiki link</p>
<hr />
<div>[[Category:Office]]<br />
[[ja:Stoq]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses [[PostgreSQL]] as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
[[Install]] the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk2}} take long time for installation process.<br />
<br />
=== Configure Stoq ===<br />
<br />
After running Stoq for the first time, you will need to configure the database location. In this step there are two options for the client connect to the database:<br />
* Connect to the database locally;<br />
* Manually configure the database connection.<br />
<br />
==== Connect to the database locally ====<br />
<br />
To connect to the database locall, you must [[install]] the {{Pkg|postgresql}}.<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
On the screen "Database location" use the option "I want to use Stoq just on this computer".<br />
<br />
==== Manually configure the database connection ====<br />
<br />
On the screen "Database location" use the option "I want to manually configure the database connection" and fill the details about the database.<br />
<br />
==== Stoq configuration file ====<br />
<br />
The main Stoq configuration file is located at {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Installing stoq-server ===<br />
<br />
[[Install]] the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
=== Configure stoq-server ===<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Where:<br />
<br />
* the {{ic|-p}} is the port that PostgreSQL uses to remote conecctions;<br />
* and {{ic|-D}} is the location where the configuration files of stoq-server must be stored.<br />
<br />
Return to the regular user using {{ic|exit}}.<br />
<br />
In order for the stoq-server to be accessible remotely it is necessary to follow the article [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts| Configure PostgreSQL to be accessible from remote hosts]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Stoq-server configuration file ====<br />
<br />
The main stoqserver configuration file is located at {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://wiki.stoq.com.br/index.php/Getting_started wiki] and the [https://doc.stoq.com.br/manual/latest/ manual] of Stoq (manual only in Portuguese).</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=516136Stoq2018-04-05T18:32:39Z<p>Vini: im</p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
[[Install]] the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk2}} take long time for installation process.<br />
<br />
=== Configure Stoq ===<br />
<br />
After running Stoq for the first time, you will need to configure the database location. In this step there are two options for the client connect to the database:<br />
* Connect to the database locally;<br />
* Manually configure the database connection.<br />
<br />
==== Connect to the database locally ====<br />
<br />
To connect to the database locall, you must [[install]] the {{Pkg|postgresql}}.<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
On the screen "Database location" use the option "I want to use Stoq just on this computer".<br />
<br />
==== Manually configure the database connection ====<br />
<br />
On the screen "Database location" use the option "I want to manually configure the database connection" and fill the details about the database.<br />
<br />
==== Stoq configuration file ====<br />
<br />
The main Stoq configuration file is located at {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Installing stoq-server ===<br />
<br />
[[Install]] the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
=== Configure stoq-server ===<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Where:<br />
<br />
* the {{ic|-p}} is the port that PostgreSQL uses to remote conecctions;<br />
* and {{ic|-D}} is the location where the configuration files of stoq-server must be stored.<br />
<br />
Return to the regular user using {{ic|exit}}.<br />
<br />
In order for the stoq-server to be accessible remotely it is necessary to follow the article [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts| Configure PostgreSQL to be accessible from remote hosts]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Stoq-server configuration file ====<br />
<br />
The main stoqserver configuration file is located at {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://wiki.stoq.com.br wiki] and the [https://doc.stoq.com.br/manual/latest/ manual] of Stoq (only in Portuguese).</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=515740Stoq2018-04-03T13:23:32Z<p>Vini: database cluster of PostgreSQL</p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
[[Install]] the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk2}} take long time for installation process.<br />
<br />
=== Configure Stoq ===<br />
<br />
After running Stoq for the first time, you will need to configure the database location. In this step there are two options for the client to connect to the database:<br />
* Connect to the database locally;<br />
* Manually configure the database connection.<br />
<br />
==== Connect to the database locally ====<br />
<br />
To connect to the database locall, you must [[install]] the {{Pkg|postgresql}}.<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
On the screen "Database location" use the option "I want to use Stoq just on this computer".<br />
<br />
==== Manually configure the database connection ====<br />
<br />
On the screen "Database location" use the option "I want to manually configure the database connection" and fill the details about the database.<br />
<br />
==== Stoq configuration file ====<br />
<br />
The main Stoq configuration file is located at {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Installing stoq-server ===<br />
<br />
[[Install]] the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
=== Configure stoq-server ===<br />
<br />
If the PostgreSQL database cluster has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Where:<br />
<br />
* the {{ic|-p}} is the port that PostgreSQL uses to remote conecctions;<br />
* and {{ic|-D}} is the location where the configuration files of stoq-server must be stored.<br />
<br />
Return to the regular user using {{ic|exit}}.<br />
<br />
In order for the stoq-server to be accessible remotely it is necessary to follow the article [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts| Configure PostgreSQL to be accessible from remote hosts]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Stoq-server configuration file ====<br />
<br />
The main stoqserver configuration file is located at {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://wiki.stoq.com.br wiki] and the [https://doc.stoq.com.br/manual/latest/ manual] of Stoq (only in Portuguese).</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=515738Stoq2018-04-03T13:20:38Z<p>Vini: Configuration</p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
[[Install]] the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk2}} take long time for installation process.<br />
<br />
=== Configure Stoq ===<br />
<br />
After running Stoq for the first time, you will need to configure the database location. In this step there are two options for the client to connect to the database:<br />
* Connect to the database locally;<br />
* Manually configure the database connection.<br />
<br />
==== Connect to the database locally ====<br />
<br />
To connect to the database locall, you must [[install]] the {{Pkg|postgresql}}.<br />
<br />
If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
On the screen "Database location" use the option "I want to use Stoq just on this computer".<br />
<br />
==== Manually configure the database connection ====<br />
<br />
On the screen "Database location" use the option "I want to manually configure the database connection" and fill the details about the database.<br />
<br />
==== Stoq configuration file ====<br />
<br />
The main Stoq configuration file is located at {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Installing stoq-server ===<br />
<br />
[[Install]] the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
=== Configure stoq-server ===<br />
<br />
If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. <br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Where:<br />
<br />
* the {{ic|-p}} is the port that PostgreSQL uses to remote conecctions;<br />
* and {{ic|-D}} is the location where the configuration files of stoq-server must be stored.<br />
<br />
Return to the regular user using {{ic|exit}}.<br />
<br />
In order for the stoq-server to be accessible remotely it is necessary to follow the article [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts| Configure PostgreSQL to be accessible from remote hosts]].<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Stoq-server configuration file ====<br />
<br />
The main stoqserver configuration file is located at {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://wiki.stoq.com.br wiki] and the [https://doc.stoq.com.br/manual/latest/ manual] of Stoq (only in Portuguese).</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515737Stoq (Português)2018-04-03T13:20:30Z<p>Vini: Formatação</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nessa etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|Processo de instalação do PostgreSQL]].<br />
<br />
Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|Processo de instalação do PostgreSQL]].<br />
<br />
Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Retorne ao usuário regular usando {{ic|exit}}.<br />
<br />
Para que o stoq-server seja acessível remotamente é necessário seguir o artigo [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts| Configurar o PostgreSQL para ser acessível a partir de hosts remotos]].<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br wiki] e o [https://doc.stoq.com.br/manual/latest/ manual] do Stoq.</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515648Stoq (Português)2018-04-02T23:32:14Z<p>Vini: stoq-server acessível remotamente</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|Processo de instalação do PostgreSQL]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|Processo de instalação do PostgreSQL]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Retorne ao usuário regular usando {{ic|exit}}.<br />
<br />
Para que o stoq-server seja acessível remotamente é necessário seguir o artigo [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts| Configurar o PostgreSQL para ser acessível a partir de hosts remotos]].<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br wiki] e o [https://doc.stoq.com.br/manual/latest/ manual] do Stoq.</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515647Stoq (Português)2018-04-02T22:55:54Z<p>Vini: Configure PostgreSQL to be accessible from remote hosts</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|Processo de instalação do PostgreSQL]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|Processo de instalação do PostgreSQL]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Retorne ao usuário regular usando {{ic|exit}}.<br />
<br />
Seguir o artigo [[PostgreSQL#Configure_PostgreSQL_to_be_accessible_from_remote_hosts| Configurar o PostgreSQL para ser acessível a partir de hosts remotos.]]<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br wiki] e o [https://doc.stoq.com.br/manual/latest/ manual] do Stoq.</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515646Stoq (Português)2018-04-02T22:41:52Z<p>Vini: Documentação adicional</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Retorne ao usuário regular usando {{ic|exit}}. <br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br wiki] e o [https://doc.stoq.com.br/manual/latest/ manual] do Stoq.</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515645Stoq (Português)2018-04-02T22:39:13Z<p>Vini: </p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Retorne ao usuário regular usando {{ic|exit}}. <br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515644Stoq (Português)2018-04-02T22:36:29Z<p>Vini: </p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório que as configurações do stoq-server serão armazenadas.<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515643Stoq (Português)2018-04-02T22:35:11Z<p>Vini: onde no stoqsconf</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Onde:<br />
<br />
* o {{ic|-p}} é a porta que o PostgreSQL usa para conexões remotas;<br />
* e {{ic|-D}} é o diretório onde o stoq-server está localizado.<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515642Stoq (Português)2018-04-02T22:23:13Z<p>Vini: </p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessário [[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|instalar]] o {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
[[Help:Reading_(Português)#Instala.C3.A7.C3.A3o_de_pacotes|Instale]] o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515641Stoq (Português)2018-04-02T22:18:44Z<p>Vini: </p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessária a instalação do {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoq-server ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515640Stoq (Português)2018-04-02T22:18:15Z<p>Vini: </p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessária a instalação do {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoqserver ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoq-server. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoq-server ====<br />
<br />
O principal arquivo de configuraçãos do stoq-server se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoq-server se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515639Stoq (Português)2018-04-02T22:16:51Z<p>Vini: systemd em portugues</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessária a instalação do {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoqserver ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, como o root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Como root, [[Systemd_(Português)#Usando_units|ative ou habilite]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoqserver ====<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515638Stoq (Português)2018-04-02T22:07:22Z<p>Vini: melhoria na ordem do texto</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessária a instalação do {{Pkg|postgresql}}.<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}.<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela "Localização do banco de dados" utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoqserver ===<br />
<br />
Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]]. Em seguida, com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}.<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
==== Arquivo de configuração do stoqserver ====<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515637Stoq (Português)2018-04-02T22:04:47Z<p>Vini: melhoria na configuração do Stoq</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessária a instalação do {{Pkg|postgresql}}.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
Na tela Localização do banco de dados utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela Localização do banco de dados utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
==== Arquivo de configuração do Stoq ====<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoqserver ===<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}} e se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515634Stoq (Português)2018-04-02T20:08:49Z<p>Vini: </p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
O principal arquivo de configuraçãos do Stoq se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessária a instalação do {{Pkg|postgresql}}.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
Na tela Localização do banco de dados utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela Localização do banco de dados utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoqserver ===<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}} e se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515633Stoq (Português)2018-04-02T20:03:11Z<p>Vini: Detalhamento das configurações</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A instalação da dependência {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
=== Configuração do Stoq ===<br />
<br />
Após a execução do Stoq pela primeira vez será necessário configurar a localização do banco de dados. Nesta etapa existem duas opções para o cliente se conectar ao banco de dados:<br />
* Conectar no banco de dados localmente;<br />
* Configurar manualmente a conexão com o banco de dados.<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em {{ic|~/.stoq/stoq.conf}}.<br />
<br />
==== Conexão com banco de dados local ====<br />
<br />
Para conexão com o banco de dados no local é necessária a instalação do {{Pkg|postgresql}}.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
Na tela Localização do banco de dados utilizar a opção "Eu quero usar o Stoq apenas neste computador".<br />
<br />
==== Configurar conexão com banco de dados manualmente ====<br />
<br />
Na tela Localização do banco de dados utilizar a opção "Quero configurar a conexão com o banco de dados manualmente" e inserir os dados para a conexão com o banco de dados.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
=== Configuração do stoqserver ===<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}} e se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em {{ic|/usr/share/stoqserver/.stoq/stoq.conf}}.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia a [https://wiki.stoq.com.br Wiki do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=515017Stoq (Português)2018-03-26T13:53:30Z<p>Vini: webkitgtk2 as the correct dependency</p>
<hr />
<div>[[Category:Office (Português)]]<br />
[[en:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk2}} levará muito tempo no processo de instalação.<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=515016Stoq2018-03-26T13:53:14Z<p>Vini: webkitgtk2 as the correct dependency</p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk2}} take long time for installation process.<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=514967Stoq (Português)2018-03-25T23:20:32Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=514966Stoq2018-03-25T23:20:03Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -u postgres -i}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su -l postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=514964Stoq (Português)2018-03-25T22:35:45Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Documentação adicional==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=514963Stoq (Português)2018-03-25T21:57:47Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Additional documentation==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=514962Stoq (Português)2018-03-25T21:36:50Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Additional documentation==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=514961Stoq2018-03-25T21:32:23Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=514960Stoq (Português)2018-03-25T21:21:06Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
Em seguida, se a instância PostgreSQL ainda não estiver inicializada seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Additional documentation==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=514959Stoq2018-03-25T21:20:49Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
Than, if the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=514958Stoq2018-03-25T21:19:29Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
Than, if the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=514957Stoq2018-03-25T20:56:43Z<p>Vini: /* Accessing serial */</p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
Than, if the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} before start Stoq.<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=514956Stoq (Português)2018-03-25T20:40:22Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
Em seguida, se a instância PostgreSQL ainda não estiver inicializada seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} antes de iniciar o Stoq.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada seguir o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Additional documentation==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=514955Stoq (Português)2018-03-25T20:38:52Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
Em seguida, se a instância PostgreSQL ainda não estiver inicializada, favor primeiramente o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} antes de iniciar o Stoq.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}}. Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, favor primeiramente o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Additional documentation==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq_(Portugu%C3%AAs)&diff=514954Stoq (Português)2018-03-25T20:37:01Z<p>Vini: Created page with "Category:Office pt:Stoq [http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source. O aplicativo Stoq usa o PostgreSQL como banco de dados b..."</p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] é uma suíte de gerenciamento empresarial open-source.<br />
<br />
O aplicativo Stoq usa o PostgreSQL como banco de dados back-end, com um cliente através de uma interface gráfica.<br />
<br />
== Instalação ==<br />
<br />
=== Instalação do Stoq ===<br />
<br />
Instale o pacote {{aur|stoq}}. Note que os pacote Stoq vêm com um braço de bibliotecas python2 disponíveis no [[AUR]]. A dependência de {{aur|webkitgtk}} levará muito tempo no processo de instalação.<br />
<br />
Em seguida, se a instância PostgreSQL ainda não estiver inicializada, favor primeiramente o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
O principal arquivo de configuração do Stoq se encontra em ~/.stoq/stoq.conf.<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} antes de iniciar o Stoq.<br />
<br />
=== Instalação do stoq-server ===<br />
<br />
Instale o pacote {{aur|stoq-server}} Então [[Users_and_groups#Example_adding_a_user|defina a senha]] do novo usuário ''stoqserver''.<br />
<br />
Com o root, [[start]] e [[enable]] o {{ic|postgresql.service}}. Se a instância PostgreSQL ainda não estiver inicializada, favor primeiramente o artigo [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
É necessário criar uma nova configuração no PostgreSQL para o stoqserver. Para isso, entre no usário padrão para o PostgreSQL, 'postgres', usando os seguintes comandos:<br />
*Se você tiver {{Pkg|sudo}} e seu usuário estiver no {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Senão:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use o script stoqsconf para gerar os arquivos de configurações necessárias:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
O principal arquivo de configuraçãos do stoqserver se encontra em /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
Como root, [[start]] ou [[enable]] o {{ic|supervisord.service}}.<br />
<br />
Reinicie o processo do supervisor:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
É necessário [[start]] ou [[enable]] o {{ic|postgresql.service}} e {{ic|supervisord.service}} antes de iniciar o Stoq com o stoqserver.<br />
<br />
=== Acessando via conexão serial ===<br />
<br />
É possível o stoqserver se comunicar via conexão serial ou serial sobre uma conexão USB. Basta adicionar o usuário stoqserver ao grupo {{ic|uucp}}.<br />
<br />
# gpasswd -a stoqserver uucp<br />
{{Nota|Você deve deslogar e logar novamente para ter efeito.}}<br />
<br />
== Additional documentation==<br />
<br />
Para mais informações, leia o [https://doc.stoq.com.br/manual/latest/ Manual do Stoq].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=514953Stoq2018-03-25T20:18:59Z<p>Vini: </p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
Than, if the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} before start Stoq.<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a $USER uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=514952Stoq2018-03-25T19:19:34Z<p>Vini: text improve</p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management applications.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
Than, if the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} before start Stoq.<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a $USER uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vinihttps://wiki.archlinux.org/index.php?title=Stoq&diff=514951Stoq2018-03-25T19:16:45Z<p>Vini: Stoq instalation tutorial</p>
<hr />
<div>[[Category:Office]]<br />
[[pt:Stoq]]<br />
[http://www.stoq.com.br Stoq] is a suite of open-source enterprise management applications.<br />
<br />
Stoq application uses PostgreSQL as database back-end, with a graphical interface client.<br />
<br />
== Installation ==<br />
<br />
=== Installing Stoq ===<br />
<br />
Install the {{aur|stoq}} package. Please note that the Stoq package comes with a bunch of python2 packages available in the [[AUR]]. The dependency of {{aur|webkitgtk}} take long time for installation process.<br />
<br />
If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
The main Stoq configuration file is located at ~/.stoq/stoq.conf.<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} before start Stoq.<br />
<br />
=== Installing stoq-server ===<br />
<br />
Install the {{aur|stoq-server}} package. Then [[Users_and_groups#Example_adding_a_user|set a password]] for the newly created ''stoqserver'' user.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|postgresql.service}}. If the PostgreSQL instance has not been initialized yet, please follow first the [[PostgreSQL#Installing PostgreSQL|PostgreSQL install process]].<br />
<br />
It is necessary to create a new PostgreSQL configuration for stoqserver. For that log in as the default PostgreSQL superuser, 'postgres', by executing the following command:<br />
*If you have {{Pkg|sudo}} and your username is in {{ic|sudoers}}:<br />
:{{bc|$ sudo -i -u postgres}}<br />
*Otherwise:<br />
:{{bc|<nowiki><br />
$ su<br />
# su - postgres<br />
</nowiki>}}<br />
<br />
Use stoqsconf script to generate the necessary configuration files:<br />
<br />
[postgres]$ stoqsconf -p 5432 -D "/usr/share/stoqserver"<br />
<br />
The main stoqserver configuration file is located at /usr/share/stoqserver/.stoq/stoq.conf.<br />
<br />
As root, [[start]] and [[enable]] the {{ic|supervisord.service}}.<br />
<br />
Restart the supervisor process:<br />
<br />
# supervisorctl update<br />
<br />
# supervisorctl restart stoqserver<br />
<br />
It's necessary [[start]] or [[enable]] the {{ic|postgresql.service}} and {{ic|supervisord.service}} before start Stoq with stoqserver.<br />
<br />
=== Accessing serial ===<br />
<br />
The stoqserver communicates with the computer via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in {{ic|/dev/tts/}} owned by group {{ic|uucp}} so adding the user to the {{ic|uucp}} group gives the required read/write access.<br />
<br />
# gpasswd -a $USER uucp<br />
{{Note|You will have to logout and login again for this to take effect.}}<br />
<br />
== Additional documentation==<br />
<br />
Therefore, reading the [https://doc.stoq.com.br/manual/latest/ Stoq Manual].</div>Vini