Skip to content

Commit

Permalink
Fixed Issue geodes-sms#82
Browse files Browse the repository at this point in the history
  • Loading branch information
gauranshkumar committed Aug 2, 2022
1 parent e4d964f commit 1087999
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ derby*
*.stTheme.cache
*.sublime-workspace
*.sublime-project

# Custom Files
#-------------------------
SourcesForTests/*

13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,17 @@ The project can be installed locally using docker. Make sure to follow the pre-r

### Build and run the application:
1. Clone the project from GitHub (git clone https://github.com/geodes-sms/relis.git)
2. Run following command from the directory **relis_deployment/**
> docker-compose build

3. Run following command from the directory **relis_deployment/**
2. Run following command from the directory **relis_deployment/**
> docker-compose up -d
4. (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 3.)
5. From your browser go to url **localhost:8083** to access the application. Default credentials are: `Username: admin` `Password: 123`
6. For test purpose you can also access the database using PHPMyAdmin on **localhost:8083/phpmyadmin**. Default credentials are: `Username: root` `Password:`
3. (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.)
4. From your browser go to url **localhost:8083** to access the application. Default credentials are: `Username: admin` `Password: 123`
5. For test purpose you can also access the database using PHPMyAdmin on **localhost:8083/phpmyadmin**. Default credentials are: `Username: root` `Password:`

**No password required** (You should use this feature only on the local environment).

7. 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**
6. 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**

### Useful command
To connect inside your docker container run the following command from the directory **relis_deployment/**
Expand Down
8 changes: 4 additions & 4 deletions relis_deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ version: "3.7"
services:
relis-application-service:
container_name: relis-application
image: relis-application
image: eugene26/relis-application
build:
context: ./docker
args:
DIRECTORY_INDEX: index.php
DOCUMENT_ROOT: /u/relis/public_html
entrypoint: /usr/local/bin/entrypoint.sh
ports:
- 8083:80
- 8088:8080
- 8083:80
- 8088:8080
volumes:
- ..:/u/relis/public_html
- ..:/u/relis/public_html

0 comments on commit 1087999

Please sign in to comment.