Coder Social home page Coder Social logo

rodrigomicrosiga / vagrant-protheus-windows Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marcossilvestrini/vagrant-protheus-windows

0.0 1.0 0.0 45 KB

Projetc for provisioning stack ERP Protheus in Windows

License: MIT License

HTML 59.10% PowerShell 40.90%

vagrant-protheus-windows's Introduction

Provision ERP Protheus With Vagrant and Ansible

N|Solid

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

Philosophy

This project aims to automate the provisioning of the ERP Protheus stack for development purposes.

Getting Started

Fork the project and enjoy.
Atention for pre requisites and License!!!

Authors

Marcos Silvestrini
[email protected]

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Pre-Requisites

References

Vagrant Box Settings

DB:
SO: Oracle Linux 8
CPU: 3 vcpus
RAM: 4GB

APP:
SO: Windows 2019
CPU: 3 vcpus
RAM: 4GB

Stack Version

Database: PostgreSQL 10.15
Protheus: 12.1.27

Install Vagrant

Download

sudo wget https://releases.hashicorp.com/vagrant/2.2.13/vagrant_2.2.13_x86_64.rpm

Install

sudo yum localinstall vagrant_2.2.13_x86_64.rpm -y
vagrant ––version

Create Box

  1. clone this reposotory
  2. Generate your ssh pub key and copy to security/ folder
  3. Download artefacts of ERP(license,rpo,appserver,etc)
  4. Copy artefacts for relative folders(license,rpo,appserver,etc)
  5. cd vagrant-protheus\windows
  6. vagrant validate
  7. vagrant up
  8. vagrant status

Vagrantfile Tasks

  • Set Hostname
  • Set ressources memory and cpu
  • Configure Network and forwarded port
  • Configure Mounts
  • Configure ssh
  • Configure Firewall
  • Install Updates
  • Install python3

Fix Error SSH in Vagrant Windows

Run this command in powershell:

$Env:VAGRANT_PREFER_SYSTEM_BIN += 0

Provisioning Database Tasks

  • Install and configure database
  • Create database for app
  • Create user and pass

Provisioning App Tasks

  • 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

Roles Short Explanations

postgresql

Read the README file in the role folder for more details

commom

This roles install commons libs,packages and create defaults paths.
Libs and packages are described in defaults

rpo

Role for configure rpo

dictionay

Role for configure dictionary files, web files and portal files.

license

Role for configure license server.

dbaccess

Role for configure dbaccess,UnixODBC and postgresql-odbc

appserver

Role for configure appservers.
This role configure binaries for:\

  • broker
  • slaves
  • soap
  • rest

jenkins

Optional role for create and configure jenkins node in host

Bugs

Error in the initialization enviroment in windows

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

vagrant-protheus-windows's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.