Skip to content

Commit

Permalink
Bump version to 2.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
qlands committed May 30, 2020
1 parent 4c2581c commit ee42f68
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 51 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ ScreenShot

Releases
------------
The current stable release is 2.6.2 and it is available [here](https://github.com/qlands/FormShare/tree/stable-2.6.2)
The current stable release is 2.6.3 and it is available [here](https://github.com/qlands/FormShare/tree/stable-2.6.3)

The database signature for stable 2.6.2 is be94ab1faa43
The database signature for stable 2.6.3 is be94ab1faa43

The Docker image for stable 2.6.2 is 20200515
The Docker image for stable 2.6.3 is 20200530

Installation
------------
Expand All @@ -49,11 +49,11 @@ sudo apt-get install -y docker-compose

# Collect the FormShare source code
cd /opt
sudo git clone https://github.com/qlands/FormShare.git -b stable-2.6.2 formshare_source
sudo git clone https://github.com/qlands/FormShare.git -b stable-2.6.3 formshare_source

# Copy the docker compose file from the source to a new directory
sudo mkdir formshare_docker_compose_20200515
sudo cp ./formshare_source/docker_compose/docker-compose.yml ./formshare_docker_compose_20200515/
sudo mkdir formshare_docker_compose_20200530
sudo cp ./formshare_source/docker_compose/docker-compose.yml ./formshare_docker_compose_20200530/

# Make the directory structure for FormShare
sudo mkdir /opt/formshare
Expand All @@ -75,11 +75,11 @@ sudo sysctl -w vm.max_map_count=262144
echo 'vm.max_map_count=262144' | sudo tee -a /etc/sysctl.d/60-vm-max_map_count.conf

# Download all the required Docker Images
cd /opt/formshare_docker_compose_20200515
cd /opt/formshare_docker_compose_20200530
sudo docker-compose pull

# Edit the docker-compose.yml file to set the mysql root and FormShare admin passwords
sudo nano /opt/formshare_docker_compose_20200515/docker-compose.yml
sudo nano /opt/formshare_docker_compose_20200530/docker-compose.yml
# Press Alt+Shit+3 to show the line numbers in Nano

Edit line 7: Change the root password from "my_secure_password" to your password
Expand Down Expand Up @@ -122,7 +122,7 @@ sudo service apache2 start
# Subsequent start will take about 2 minutes. You can check the status with "sudo docker stats".
# FormShare will be ready for usage when the container reaches more than 500 kB of MEM USAGE
# This is the only two commands you need to start FormShare after a server restart
cd /opt/formshare_docker_compose_20200515
cd /opt/formshare_docker_compose_20200530
sudo docker-compose up -d

# Browse to FormShare
Expand Down
22 changes: 11 additions & 11 deletions docker_compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3'
services:
fsmysql_20200515:
fsmysql_20200530:
image: mysql:5.7.27
container_name: fs_mysql_20200515
container_name: fs_mysql_20200530
environment:
MYSQL_ROOT_PASSWORD: my_secure_password
volumes:
Expand All @@ -11,9 +11,9 @@ services:
fsnet:
ipv4_address: 172.28.1.5

fselasticsearch_20200515:
fselasticsearch_20200530:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch_20200515
container_name: fs_elasticsearch_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -28,9 +28,9 @@ services:
networks:
fsnet:
ipv4_address: 172.28.1.1
fselasticsearch2_20200515:
fselasticsearch2_20200530:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch2_20200515
container_name: fs_elasticsearch2_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -46,9 +46,9 @@ services:
networks:
fsnet:
ipv4_address: 172.28.1.2
fselasticsearch3_20200515:
fselasticsearch3_20200530:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch3_20200515
container_name: fs_elasticsearch3_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -65,9 +65,9 @@ services:
fsnet:
ipv4_address: 172.28.1.3

formshare_20200515:
image: qlands/formshare2:20200515
container_name: formshare_20200515
formshare_20200530:
image: qlands/formshare2:20200530
container_name: formshare_20200530
environment:
MYSQL_HOST_NAME: 172.28.1.5
MYSQL_USER_NAME: root
Expand Down
26 changes: 13 additions & 13 deletions docker_compose_with_apache/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3'
services:
fsmysql_20200515:
fsmysql_20200530:
image: mysql:5.7.27
container_name: fs_mysql_20200515
container_name: fs_mysql_20200530
environment:
MYSQL_ROOT_PASSWORD: my_secure_password
volumes:
Expand All @@ -11,9 +11,9 @@ services:
fsnet:
ipv4_address: 172.28.1.5

fselasticsearch_20200515:
fselasticsearch_20200530:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch_20200515
container_name: fs_elasticsearch_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -28,9 +28,9 @@ services:
networks:
fsnet:
ipv4_address: 172.28.1.1
fselasticsearch2_20200515:
fselasticsearch2_20200530:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch2_20200515
container_name: fs_elasticsearch2_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -46,9 +46,9 @@ services:
networks:
fsnet:
ipv4_address: 172.28.1.2
fselasticsearch3_20200515:
fselasticsearch3_20200530:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch3_20200515
container_name: fs_elasticsearch3_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -64,9 +64,9 @@ services:
networks:
fsnet:
ipv4_address: 172.28.1.3
formshare_20200515:
image: qlands/formshare2:20200515
container_name: formshare_20200515
formshare_20200530:
image: qlands/formshare2:20200530
container_name: formshare_20200530
environment:
MYSQL_HOST_NAME: 172.28.1.5
MYSQL_USER_NAME: root
Expand Down Expand Up @@ -97,9 +97,9 @@ services:
fsnet:
ipv4_address: 172.28.1.4

fsapache_20200515:
fsapache_20200530:
image: qlands/httpd:2.4
container_name: fsapache_20200515
container_name: fsapache_20200530
ports:
- 80:80
networks:
Expand Down
30 changes: 15 additions & 15 deletions docker_compose_with_fluentd/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3'
services:
fsmysql_20200515:
fsmysql_20200530:
image: mysql:5.7.27
container_name: fs_mysql_20200515
container_name: fs_mysql_20200530
environment:
MYSQL_ROOT_PASSWORD: my_secure_password
volumes:
Expand All @@ -11,9 +11,9 @@ services:
fsnet:
ipv4_address: 172.28.1.5

fselasticsearch_20200515:
fselasticsearch_20200530:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch_20200515
container_name: fs_elasticsearch_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -28,9 +28,9 @@ services:
networks:
fsnet:
ipv4_address: 172.28.1.1
fselasticsearch2_20200515:
fselasticsearch2_20200530:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch2_20200515
container_name: fs_elasticsearch2_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -46,9 +46,9 @@ services:
networks:
fsnet:
ipv4_address: 172.28.1.2
fselasticsearch_202005153:
fselasticsearch_202005303:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: fs_elasticsearch3_20200515
container_name: fs_elasticsearch3_20200530
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
Expand All @@ -64,9 +64,9 @@ services:
networks:
fsnet:
ipv4_address: 172.28.1.3
formshare_20200515:
image: qlands/formshare2:20200515
container_name: formshare_20200515
formshare_20200530:
image: qlands/formshare2:20200530
container_name: formshare_20200530
environment:
MYSQL_HOST_NAME: 172.28.1.5
MYSQL_USER_NAME: root
Expand Down Expand Up @@ -97,9 +97,9 @@ services:
fsnet:
ipv4_address: 172.28.1.4

fsfluentd_20200515:
fsfluentd_20200530:
image: qlands/fluentd:v1.7.3-1.0
container_name: fsfluentd_20200515
container_name: fsfluentd_20200530
environment:
WAIT_HOSTS: 172.28.1.1:9200, 172.28.1.4:5900
WAIT_HOSTS_TIMEOUT: 120
Expand All @@ -110,9 +110,9 @@ services:
fsnet:
ipv4_address: 172.28.1.6

fskibana_20200515:
fskibana_20200530:
image: docker.elastic.co/kibana/kibana:6.3.2
container_name: fskibana_20200515
container_name: fskibana_20200530
environment:
ELASTICSEARCH_URL: http://172.28.1.1:9200
ports:
Expand Down
2 changes: 1 addition & 1 deletion docker_files/formshare/stable.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ VOLUME /opt/formshare_odata
RUN mkdir formshare_gunicorn
RUN python3 -m venv formshare_env

RUN git clone https://github.com/qlands/FormShare.git -b stable-2.6.2 formshare
RUN git clone https://github.com/qlands/FormShare.git -b stable-2.6.3 formshare
RUN . ./formshare_env/bin/activate && pip install wheel && pip install -r /opt/formshare/requirements.txt && python /opt/formshare/download_nltk_packages.py

ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.6.0/wait /wait
Expand Down
2 changes: 1 addition & 1 deletion formshare/plugins/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_version():
This returns the version of FormShare
:return: The version of FormShare
"""
return "2.6.2 (20200515)"
return "2.6.3 (20200530)"


@core_helper
Expand Down
2 changes: 1 addition & 1 deletion install_steps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ sudo python3 -m venv formshare_env
# Grab the FormShare source code
# ---------------------BEGIN OF IMPORTANT NOTE-------------------------
# To use the stable version of FormShare do:
sudo git clone https://github.com/qlands/FormShare.git -b stable-2.6.2 formshare
sudo git clone https://github.com/qlands/FormShare.git -b stable-2.6.3 formshare
# To use the development version of FormShare do:
sudo git clone https://github.com/qlands/FormShare.git formshare
# ---------------------END OF IMPORTANT NOTE-------------------------
Expand Down

0 comments on commit ee42f68

Please sign in to comment.