Skip to content

Commit 8ddaef8

Browse files
authored
Merge pull request #57 from geodes-sms/revert-47-docker-implementation
Revert "[fix] issue #44 and issue #48"
2 parents 66f5157 + 96bbb12 commit 8ddaef8

File tree

2,532 files changed

+2995
-476423
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,532 files changed

+2995
-476423
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
.DS_Store
2-
!index.php
2+
index.php
33
relis_app/cache/*
4+
!application/cache/index.html
5+
!application/cache/.htaccess
46

57
relis_app/logs/*
8+
!application/logs/index.html
9+
!application/logs/.htaccess
610

7-
cside/sessions/relis_session*
8-
relis_app/libraries/table_config/project/install_config*
9-
relis_app/libraries/table_config/project/temp/install_config*
10-
workspace/dslforge_workspace/*
11+
cside/sessions/*
12+
relis_app/libraries/table_config/project/temp/*
13+
relis_app/libraries/table_config/project/install*
14+
relis_app/libraries/table_config/table_*
15+
relis_app/config/config.php
1116
relis_app/config/database.php
12-
phpmyadmin/tmp/*
17+
.htaccess
1318

1419
/vendor/
15-
derby*
1620

1721
# IDE Files
1822
#-------------------------
File renamed without changes.

README.md

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -27,39 +27,13 @@ High-level features supported:
2727
- Storage of studies (all but PDF)
2828

2929
# Installation
30-
The project can be installed locally using docker. Make sure to follow the pre-requisite steps to have an up and running docker environment.
31-
32-
### Pre-requisite:
33-
- Install docker on your local environment (download at: https://www.docker.com/products/docker-desktop)
34-
- Install docker-compose on your local environment (it comes by default with docker on mac and windows)
35-
- Run command "docker-compose" to check that docker is correctly installed
36-
- For Windows users, if Docker cannot start with the following error :
37-
"Hardware assisted virtualization and data execution protection must be enabled in the BIOS" then excute following steps:
38-
- Enable features : Virtual Machine Platform, Windows Subsystem for Linux and Hyper-V using "Windows Features"
39-
(See https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization for more information)
40-
- Restart you system and press esc key or any correspondent key to enter the BIOS settings in windows
41-
- Press f10 or other key to enter BIOS Setup
42-
- Go to System Configuration then Device Configuration
43-
- Enable Virtualization
44-
- Restart your aystem
45-
If Docker still not start with the error "Docker.ApiServices.WSL2.WslKernet NotInstalledException" then excute following steps:
46-
- use the link https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package to download and intall linux kernal update
47-
- Restart you system if Docker not start
48-
49-
### Build and run the application:
50-
1. Clone the project from GitHub (git clone https://github.com/geodes-sms/relis.git)
51-
2. Run command "docker-compose build" from the directory **relis_deployment/**
52-
3. Run command "docker-compose up -d" from the directory **relis_deployment/**
53-
(For **windows users** , if you get the error ``relis-application-service | standard_init_linux.go:211: exec user process caused "no such file or directory"``: check if the file ``relis_deployment/docker/entrypoint.sh`` EOL is not CRLF; if it is, convert it from CRLF to LF and go back to step 2.)
54-
4. From your browser go to url **localhost:8083** to access the application, default credentials are admin::123.
55-
5. For test purpose you can also access the database using PHPMyAdmin on **localhost:8083/phpmyadmin**, the user is root, no password required (You should use this feature only on the local environment). If you get the error "Incorrect permissions on the configuration file, it should not be write to everyone!" then add the statement $cfg['CheckConfigurationPermissions'] = false; to the phpmyadmin config file: relis-docker-implementation\phpmyadmin\config.inc.php
56-
57-
### Usefull command
58-
To connect inside your docker container run the command "docker-compose exec relis-application-service bash" from the directory **relis_deployment/**
5930

6031

6132
# Distribution
6233

34+
# Source code
35+
To compile the source code, you need the following dependencies:
36+
-
6337

6438
The source code is licensed under a [GNU GENERAL PUBLIC LICENSE 3](https://www.gnu.org/copyleft/gpl.html) ![GNU GPL v3](https://img.shields.io/badge/license-GPLv3-blue.svg)
6539

cside/removed vendors.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
echarts 12 MB
2+
3+
moment 5MB
4+
5+
parsleyjs 3 MB
6+
7+
pdfmake 4Mb
8+
9+
raphael 1MB

cside/sessions/index.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

install/install_form.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ function install_form($values=array(),$error=array()){?>
6969
$db_host=(!empty($values['db_host']))?$values['db_host']:'localhost' ;
7070
$db_user=(!empty($values['db_user']))?$values['db_user']:'root' ;
7171
// $db_pass=(!empty($values['db_pass']))?$values['db_pass']:'' ;
72-
$db_name=(!empty($values['db_name']))?$values['db_name']:'relis_db' ;
72+
$db_name=(!empty($values['db_name']))?$values['db_name']:'' ;
7373

7474
$full_name=(!empty($values['full_name']))?$values['full_name']:'Admin' ;
75-
$user_mail=(!empty($values['user_mail']))?$values['user_mail']:'info@relis.ca' ;
76-
$user_name=(!empty($values['user_name']))?$values['user_name']:'admin' ;
75+
$user_mail=(!empty($values['user_mail']))?$values['user_mail']:'' ;
76+
$user_name=(!empty($values['user_name']))?$values['user_name']:'' ;
7777

78-
$dsl_url=(!empty($values['dsl_url']))?$values['dsl_url']:'http://localhost:8088/relis/texteditor' ;
79-
$dsl_workspace=(!empty($values['dsl_workspace']))?$values['dsl_workspace']:'/u/relis/public_html/workspace/dslforge_workspace' ;
78+
$dsl_url=(!empty($values['dsl_url']))?$values['dsl_url']:'' ;
79+
$dsl_workspace=(!empty($values['dsl_workspace']))?$values['dsl_workspace']:'' ;
8080

8181
$array_fields_db=array();
8282
$array_fields_admin=array();
@@ -178,7 +178,7 @@ function install_form($values=array(),$error=array()){?>
178178
$field=array(
179179
'type'=>'password',
180180
'id'=>'user_password',
181-
'value'=>'123',
181+
'value'=>'',
182182
'label'=>'Administrator Password',
183183
'extra_note'=>'Set the password for your Super User account and confirm it in the field below',
184184
'is_required'=>True
@@ -188,7 +188,7 @@ function install_form($values=array(),$error=array()){?>
188188
$field=array(
189189
'type'=>'password',
190190
'id'=>'user_password_v',
191-
'value'=>'123',
191+
'value'=>'',
192192
'label'=>'Confirm Administrator Password',
193193
'extra_note'=>'',
194194
'is_required'=>True

index.php renamed to model_ci_index.php

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,39 @@
11
<?php
2-
/* ReLiS - A Tool for conducting systematic literature reviews and mapping studies.
3-
* Copyright (C) 2018 Eugene Syriani
2+
/**
3+
* CodeIgniter
44
*
5-
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17-
*
18-
* --------------------------------------------------------------------------
19-
*
20-
* :Author: Brice Michel Bigendako
5+
* An open source application development framework for PHP
6+
*
7+
* This content is released under the MIT License (MIT)
8+
*
9+
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
10+
*
11+
* Permission is hereby granted, free of charge, to any person obtaining a copy
12+
* of this software and associated documentation files (the "Software"), to deal
13+
* in the Software without restriction, including without limitation the rights
14+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15+
* copies of the Software, and to permit persons to whom the Software is
16+
* furnished to do so, subject to the following conditions:
17+
*
18+
* The above copyright notice and this permission notice shall be included in
19+
* all copies or substantial portions of the Software.
20+
*
21+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27+
* THE SOFTWARE.
28+
*
29+
* @package CodeIgniter
30+
* @author EllisLab Dev Team
31+
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
32+
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
33+
* @license http://opensource.org/licenses/MIT MIT License
34+
* @link https://codeigniter.com
35+
* @since Version 1.0.0
36+
* @filesource
2137
*/
2238

2339
/*

model_install_index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
header('Location: install/index.php');

phpmyadmin/CONTRIBUTING.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)