Skip to content

Commit

Permalink
Stand-alone server removed. #7 #9 #RN
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFox committed Aug 3, 2016
1 parent 9fdce87 commit 6dbaaf6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 108 deletions.
24 changes: 0 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,6 @@ The preferred method of installation is via [Packagist](https://packagist.org/pa

composer.phar require "thefox/smtpd=~0.2"

## Stand-alone server

1. Clone project from GitHub.

git clone https://github.com/TheFox/smtpd.git

2. Install dependencies.

make

3. To start a stand-alone server you can type the following command in your shell:

./application.php server -d

To show the usage options use `-h`:

./application.php server -h

You can change the IP and port. Default port is 20025.

./application.php server -a 0.0.0.0 -p 25

**Note:** The stand-alone server is only for testing. If you want to use it for production you need to define a save/deliver function. See example below.

## Usage

See [`example.php`](example.php) file for more information.
Expand Down
15 changes: 0 additions & 15 deletions application.php

This file was deleted.

52 changes: 0 additions & 52 deletions bootstrap.php

This file was deleted.

20 changes: 3 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@
],
"require": {
"php": ">=5.3",
"zendframework/zend-mail": "~2.3",
"symfony/console": "~2.5",
"symfony/filesystem": "~2.5",
"liip/process-manager": "~1.0",
"phpmailer/phpmailer": "~5.2"
"zendframework/zend-mail": "~2.3"
},
"require-dev": {
"phpunit/phpunit": "~4.1",
"phpmailer/phpmailer": "~5.2",
"thefox/phpcsrs": "~1.0",
"thefox/utilities": "~1.1"
},
Expand All @@ -35,16 +32,5 @@
"branch-alias": {
"dev-master": "1.x.x-dev"
}
},
"scripts": {
"post-install-cmd": [
"echo post-install-cmd",
"chmod a+rx-w,u+rwx application.php",
"php bootstrap.php"
],
"post-update-cmd": [
"echo post-update-cmd",
"php bootstrap.php"
]
}
}
}

0 comments on commit 6dbaaf6

Please sign in to comment.