-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8754e35
commit ac0719f
Showing
11 changed files
with
2,193 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
## Installation | ||
Den Inhalt des Repositorys einfach ins Wurzelverzeichnis des Projekts kopieren. Schon kann mit "vagrant up" ein | ||
virtueller Webserver für das jeweilige Projekt gestartet werden. | ||
|
||
## Zugriff auf den Server | ||
Es werden vier Ports der virtuellen Maschine auf den Host-Computer weitergeleitet. | ||
2222 ist Vagrants Standardport für SSH, sodass man über localhost:2222 per SSH auf den Server zugreifen kann. | ||
Wie genau das mit der Authentifizierung funktioniert steht in der Vagrant-Dokumentation. | ||
Unter Port 8080 ist der Webserver erreichbar, über 3306 der MySQL-Server. | ||
Ein Sonderfall ist Port 1080, der auf das Web-Frontend von Mailcatcher weiterleitet. Hier bekommt man eine Übersicht über die "versendeten" E-Mails. | ||
|
||
## Details zum System | ||
### Ubuntu 14.04 mit folgenden Tools: | ||
|
||
- Curl | ||
- Git | ||
- G++ | ||
- Make | ||
|
||
- Ruby | ||
- Python | ||
- PHP | ||
|
||
- Apache2 | ||
- Nodejs | ||
- NPM | ||
- Bower | ||
|
||
- MySQL | ||
- phpMyAdmin | ||
|
||
### Details: | ||
##### Apache2 | ||
> Das DocumentRoot-Verzeichnis des Webservers wird automatisch auf das Wurzelverzeichnis des Projekts gemappt. | ||
> Dadurch ist das Projekt nach "vagrant up" direkt über http://localhost:8080/ erreichbar. | ||
##### MySQL-Server 5.5 | ||
> Aktuellste Version des MySQL-Servers. Mit dem Benutzer "root" und dem Passwort "password" kann direkt am Server gearbeitet werden. | ||
> Es wird automatisch eine Standarddatenbank namens "default_database" angelegt. Über die in database-config.sh definierten Dateien kann diese Datenbank automatisch gefüllt werden. | ||
##### phpMyAdmin | ||
> Unter http://localhost:8080/phpmyadmin ist die phpMyAdmin-Oberfläche erreichbar. phpMyAdmin ist bereits so konfiguriert, | ||
> dass man direkt ohne Login auf die Datenbank zugreifen kann. | ||
##### PHP 5.4 | ||
> zusätzlich zu den (Ubuntu-) Standardmodulen sind die PHP-Module Pear, Curl, Imap, Mysqlnd, Sqlite3, PostgreSql, MySQL und pcntl installiert. | ||
> Außerdem ist Xdebug als nützliches Entwickler-Tool dabei. | ||
##### mailcatcher | ||
> Mailcatcher ist ein kleines Ruby-Programm, das einen lokalen SMTP-Server ausführt. PHP ist schon so konfiguriert, | ||
> dass es per "mail()" gesendete E-Mails an diesen Server schickt. Anstatt die E-Mails wie ein normaler SMTP-Server | ||
> an ihre Adressaten weiterzuleiten, werden sie bloß abgefangen und gespeichert und können über http://localhost:1080/ online angesehen werden. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
[PHP] | ||
engine = On | ||
short_open_tag = On | ||
precision = 14 | ||
y2k_compliance = Off | ||
output_buffering = Off | ||
output_handler = | ||
unserialize_callback_func = | ||
zlib.output_compression = | ||
implicit_flush = Off | ||
allow_call_time_pass_reference = On | ||
safe_mode = Off | ||
safe_mode_gid = | ||
safe_mode_include_dir = | ||
safe_mode_exec_dir = | ||
safe_mode_allowed_env_vars = "PHP_" | ||
safe_mode_protected_env_vars = "LD_LIBRARY_PATH" | ||
disable_functions = | ||
highlight.string = "#CC0000" | ||
highlight.comment = "#FF9900" | ||
highlight.keyword = "#006600" | ||
highlight.bg = "#FFFFFF" | ||
highlight.default = "#0000CC" | ||
highlight.html = "#000000" | ||
expose_php = On | ||
max_execution_time = 90 | ||
memory_limit = 50M | ||
error_reporting = 30711 | ||
display_startup_errors = | ||
track_errors = Off | ||
variables_order = "EGPCS" | ||
register_argc_argv = On | ||
post_max_size = 8M | ||
gpc_order = "GPC" | ||
magic_quotes_runtime = Off | ||
magic_quotes_sybase = Off | ||
default_mimetype = "text/html" | ||
doc_root = | ||
user_dir = | ||
enable_dl = On | ||
file_uploads = 1 | ||
allow_url_include = 1 | ||
arg_separator.output = "&" | ||
arg_separator.input = "&" | ||
extension = "zip.so" | ||
asp_tags = On | ||
allow_url_fopen = On | ||
display_errors = On | ||
log_errors = Off | ||
error_log = | ||
register_globals = On | ||
magic_quotes_gpc = On | ||
auto_prepend_file = | ||
auto_append_file = | ||
upload_max_filesize = 8M | ||
zend_optimizer.enable_loader = On | ||
zend_optimizer.optimization_level = 15 | ||
|
||
[mail function] | ||
; DEVELOPMENT SETTINGS | ||
SMTP = "localhost" | ||
smtp_port = 1025 | ||
sendmail_from = "[email protected]" | ||
; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). | ||
; http://php.net/sendmail-path | ||
sendmail_path = "/usr/bin/env catchmail " | ||
|
||
[SQL] | ||
sql.safe_mode = Off | ||
|
||
[ODBC] | ||
odbc.allow_persistent = 1 | ||
odbc.check_persistent = 1 | ||
odbc.max_persistent = -1 | ||
odbc.max_links = -1 | ||
odbc.defaultlrl = 4096 | ||
odbc.defaultbinmode = 1 | ||
|
||
[MySQL] | ||
mysql.allow_persistent = Off | ||
mysql.max_persistent = -1 | ||
mysql.max_links = -1 | ||
mysql.default_port = | ||
mysql.default_socket = | ||
mysql.default_host = | ||
mysql.default_user = | ||
mysql.default_password = | ||
|
||
[PostgresSQL] | ||
pgsql.allow_persistent = On | ||
pgsql.auto_reset_persistent = | ||
pgsql.max_persistent = -1 | ||
pgsql.max_links = -1 | ||
|
||
[bcmath] | ||
bcmath.scale = 0 | ||
|
||
[browscap] | ||
browscap = | ||
|
||
[Session] | ||
session.serialize_handler = "php" | ||
session.gc_probability = 1 | ||
session.referer_check = | ||
session.entropy_length = 0 | ||
session.entropy_file = | ||
session.cache_limiter = "nocache" | ||
session.cache_expire = 180 | ||
session.use_trans_sid = 1 | ||
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" | ||
session.save_handler = "files" | ||
session.save_path = "/tmp" | ||
session.use_cookies = On | ||
session.name = "PHPSESSID" | ||
session.auto_start = Off | ||
session.cookie_lifetime = 0 | ||
session.cookie_path = "/" | ||
session.cookie_domain = | ||
session.gc_maxlifetime = 1440 | ||
|
||
[Assertion] | ||
assert.active = On | ||
assert.warning = On | ||
assert.bail = Off | ||
assert.callback = | ||
assert.quiet_eval = Off |
Oops, something went wrong.