Skip to content

Commit f79623f

Browse files
committed
Renaming in the code too
1 parent 961650e commit f79623f

File tree

19 files changed

+34
-255
lines changed

19 files changed

+34
-255
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ RUN apt-get -y install apache2 php7.2 php7.2-cli php7.2-mbstring php7.2-curl\
7777
&& mv composer.phar /usr/bin/composer\
7878
\
7979
&& printf "\
80-
Alias /MonetDB-PHP-Deux /var/MonetDB-PHP-Deux/Examples/WebQuery/www/\n\
80+
Alias /MonetDB-PHP /var/MonetDB-PHP/Examples/WebQuery/www/\n\
8181
\n\
82-
<Directory /var/MonetDB-PHP-Deux/Examples/WebQuery/www>\n\
82+
<Directory /var/MonetDB-PHP/Examples/WebQuery/www>\n\
8383
Options -Indexes +FollowSymLinks -MultiViews\n\
8484
AllowOverride all\n\
8585
Order allow,deny\n\
@@ -108,8 +108,8 @@ while true; do sleep infinity; done\n\
108108
# Finalizing setup
109109
#######################################################################
110110
EXPOSE 80
111-
VOLUME ["/var/MonetDB-PHP-Deux"]
112-
WORKDIR /var/MonetDB-PHP-Deux
111+
VOLUME ["/var/MonetDB-PHP"]
112+
WORKDIR /var/MonetDB-PHP
113113
ENV DEBIAN_FRONTEND dialog
114114

115115
CMD ["/var/startup.sh"]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Data modification example
22
=========================
33

4-
This is an example project for MonetDB-PHP-Deux.
4+
This is an example project for MonetDB-PHP.
55

66
Steps:
77

88
- Follow the Dockerfile instructions in the main README.md file of the project.
99
- Log into the Docker container
10-
- Enter the `/var/MonetDB-PHP-Deux/Examples/DataModification` directory
10+
- Enter the `/var/MonetDB-PHP/Examples/DataModification` directory
1111
- Execute `composer install`
1212
- Start the example program by `php program.php`.

Examples/DataModification/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "tbolner/monetdb-php-deux-example-modify",
2+
"name": "tbolner/monetdb-php-example-modify",
33
"description": "An example application for data modification.",
44
"keywords": [
55
"MonetDB",
@@ -20,7 +20,7 @@
2020
"require": {
2121
"php": ">=7.2",
2222
"ext-mbstring": "*",
23-
"tbolner/monetdb-php-deux": "^1.0"
23+
"tbolner/monetdb-php": "^1.0"
2424
},
2525
"autoload": {
2626
"psr-4": {

Examples/DataModification/composer.lock

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

Examples/DataModification/program.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
ini_set('display_errors', '1');
2626
error_reporting(E_ALL);
2727

28-
// define("MonetDB-PHP-Deux-DEBUG", 1);
28+
// define("MonetDB-PHP-DEBUG", 1);
2929

3030
require((__DIR__)."/vendor/autoload.php");
3131

Examples/JapaneseTest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Steps:
77

88
- Follow the Dockerfile instructions in the main README.md file of the project.
99
- Log into the Docker container
10-
- Enter the `/var/MonetDB-PHP-Deux/Examples/JapaneseTest` directory
10+
- Enter the `/var/MonetDB-PHP/Examples/JapaneseTest` directory
1111
- Execute `composer install`
1212
- Start the example program by `php program.php`.

Examples/JapaneseTest/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "tbolner/monetdb-php-deux-example-japanese",
2+
"name": "tbolner/monetdb-php-example-japanese",
33
"description": "Testing UTF-8 compatibility with Japanese characters.",
44
"keywords": [
55
"MonetDB",
@@ -20,7 +20,7 @@
2020
"require": {
2121
"php": ">=7.2",
2222
"ext-mbstring": "*",
23-
"tbolner/monetdb-php-deux": "^1.0"
23+
"tbolner/monetdb-php": "^1.0"
2424
},
2525
"autoload": {
2626
"psr-4": {

Examples/JapaneseTest/composer.lock

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

Examples/JapaneseTest/program.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
require((__DIR__)."/vendor/autoload.php");
2929

30-
// define("MonetDB-PHP-Deux-DEBUG", 1);
30+
// define("MonetDB-PHP-DEBUG", 1);
3131

3232
try {
3333
$app = new Application();

Examples/WebQuery/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Web query example
22
=================
33

4-
This is an example project for MonetDB-PHP-Deux.
4+
This is an example project for MonetDB-PHP.
55

66
Steps:
77

88
- Follow the Dockerfile instructions in the main README.md file of the project.
99
- Log into the Docker container
1010
- See appendix 1 on how to prepare the database.
11-
- Enter the `/var/MonetDB-PHP-Deux/Examples/DataModification` directory
11+
- Enter the `/var/MonetDB-PHP/Examples/DataModification` directory
1212
- Execute `composer install`
1313
- Try the following URLs to test the application:
14-
- http://127.0.0.1:9292/MonetDB-PHP-Deux/
15-
- http://127.0.0.1:9292/MonetDB-PHP-Deux/?name=Fluffor
16-
- http://127.0.0.1:9292/MonetDB-PHP-Deux/?min_weight=3&max_weight=11
14+
- http://127.0.0.1:9292/MonetDB-PHP/
15+
- http://127.0.0.1:9292/MonetDB-PHP/?name=Fluffor
16+
- http://127.0.0.1:9292/MonetDB-PHP/?min_weight=3&max_weight=11
1717

1818
## Appendix 1: preparing the database
1919

0 commit comments

Comments
 (0)