Skip to content

Commit

Permalink
Change Laravel Header and Started in Python Page
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimMohamed20 committed Oct 8, 2020
1 parent 0984ea6 commit 5be24be
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Laravel
sidebar_label: Laravel
slug: /laravel
---
## Deploy great Laravel apps using DPLYR
## Deploy greatest Laravel apps using DPLYR
<img class="right-image" src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Laravel.svg/1200px-Laravel.svg.png" width="80px" height="80px" />
<p>Are you ready to deploy your app on DPLYR Machines ?</p>
You need to configure your app to be ready for the deployment process.
Expand Down
26 changes: 26 additions & 0 deletions docs/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,29 @@ title: Python
sidebar_label: Python
slug: /python
---
## Deploy fastest Python apps using DPLYR
<img class="right-image" src="https://insidehpc.com/wp-content/uploads/2016/01/Python-logo-notext.svg_.png" width="70px" height="70px" />
<p>Are you ready to deploy your app on DPLYR Machines ?</p>
You need to configure your app to be ready for the deployment process.

## Configuring App

### App location
You need to set your project files at the main directory like this example
```
- php-app
- index.php
- index.html
```

## Setting database url
You need to set your database connection string as "127.0.0.1" instead of "localhost" to connect to your local database
```php
<?php
$databaseHost = '127.0.0.1';
$databaseName = 'dplyr';
$databaseUsername = 'dplyr';
$databasePassword = 'dplyr';
$mysqli = mysqli_connect($databaseHost, $databaseUsername, $databasePassword, $databaseName);
?>
```

0 comments on commit 5be24be

Please sign in to comment.