Project for provisioning box Protheus development environment for code, build and test.
This projetc use provider Virtual Box for create VM's
This project use box Oracle Linux 8 for provisioning environment
This project user Jinja Templates for configure environment
Pay attention to download the artifacts to not have problems in provisioning
This project aims to automate the provisioning of the ERP Protheus stack for development purposes.
Fork the project and enjoy.
Atention for pre requisites and License!!!
Marcos Silvestrini
marcos.silvestrini@gmail.com
This project is licensed under the MIT License - see the LICENSE.md file for details
- Git
- VirtualBox
- Vagrant
- Oracle Boxes
- Ansible
- Postgresql
- ODBC DSN
- Blog Siga0984
- Fix Error Invalid client library
- Advplc Compiler
DB:
SO: Oracle Linux 8
CPU: 3 vcpus
RAM: 4GB
APP:
SO: Windows 2019
CPU: 3 vcpus
RAM: 4GB
Database: PostgreSQL 10.15
Protheus: 12.1.27
sudo wget https://releases.hashicorp.com/vagrant/2.2.13/vagrant_2.2.13_x86_64.rpm
sudo yum localinstall vagrant_2.2.13_x86_64.rpm -y
vagrant ––version
- clone this reposotory
- Generate your ssh pub key and copy to security/ folder
- Download artefacts of ERP(license,rpo,appserver,etc)
- Copy artefacts for relative folders(license,rpo,appserver,etc)
- cd vagrant-protheus\windows
- vagrant validate
- vagrant up
- vagrant status
- Set Hostname
- Set ressources memory and cpu
- Configure Network and forwarded port
- Configure Mounts
- Configure ssh
- Configure Firewall
- Install Updates
- Install python3
Run this command in powershell:
$Env:VAGRANT_PREFER_SYSTEM_BIN += 0
- Install and configure database
- Create database for app
- Create user and pass
- Instal and configure licenserver
- Install and configure dbaccess
- Install and configure appserver_boker
- Install and configure appserver_slaves
- Install and configure appserver_rest
- Install and configure appserver_soap
Read the README file in the role folder for more details
This roles install commons libs,packages and create defaults paths.
Libs and packages are described in defaults
Role for configure rpo
Role for configure dictionary files, web files and portal files.
Role for configure license server.
Role for configure dbaccess,UnixODBC and postgresql-odbc
Role for configure appservers.
This role configure binaries for:\
- broker
- slaves
- soap
- rest
Optional role for create and configure jenkins node in host
Error:
THREAD ERROR ([3728], marcos.silvestrini, SILVESTRINI) 11/02/2021 21:31:57
TC_Open - NO CONNECTION on FWTABLEDDL:OPENTABLE(FWTABLEDDL.PRX) 13/10/2020 16:57:59\
Solution:
Alter the odbc param UnknownSizes for longest or maximum in System DSN, restart all services and try it again