Closed Weglarz closed 4 years ago
@marioprudhomme
Thank you for information, but I have more question:
https://github.com/DigitalState/Guide/blob/master/deployments.md#on-premise
I use the following steps:
a) Install Git and Docker on your local machine : Linux Ubuntu 18.4
b) Download the platform repository:
cd C:\Users\Demo git clone https://github.com/DigitalState/Platform.git cd Platform git checkout tags/0.15.0 c) Boot the platform container docker-compose up -d d) Enter the platform container console docker exec -it platform /bin/sh cd /etc/ansible/env/dev e) Run the install playbook using Ansible ansible-playbook ./install.yml
My question is
a) I chose good path for evaluation?
b) After edition: https://github.com/DigitalState/Platform/blob/release/0.15.0/platform/ansible/env/dev/vars/app/assets.yml#L5 , replacing develop
with release/0.15.0
for all modules
how can I verify that it was done?
b) filtering tag is now: git checkout tags/0.15.0
I will very grateful for support me.
Best Regards Władysław Węglarz Telemedis
@Weglarz If you want to install a DEV environment with the release 0.15.0 code, you will need to either: 1) Create a custom Ansible inventory (advanced) or 2) Edit the already-made DEV Ansible inventory to make it point from the
develop
branch to therelease/0.15.0
branch (easy).I suggest option 2.
Simply edit this line https://github.com/DigitalState/Platform/blob/release/0.15.0/platform/ansible/env/dev/vars/app/assets.yml#L5 , replacing
develop
withrelease/0.15.0
This needs to be done in that directory for each microservice files listed below:
The issue you are getting is due to using the Platform
0.15.0
branch with microservices indevelop
branches. Platformdevelop
works with microservices indevelop
branches, Platform0.15.0
works with microservices in0.15.0
branch.Once the release is merged to
develop
, then you'll be able to use the DEV Ansible environment as-is without needing to modify versions. However, the DEV environment is mostly used by developers who is further developing the code.Also note that you will need to clean your docker environment because currently, your server most likely cached the
develop
based docker images for all the microservices.Originally posted by @marioprudhomme in https://github.com/DigitalState/Platform/issues/70#issuecomment-463589227