-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
9 changed files
with
178 additions
and
50 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,8 @@ | ||
# Build PDF & ePub | ||
formats: | ||
- htmlzip | ||
- epub | ||
python: | ||
version: 3.5 | ||
requirements_file: ./stable-req.txt |
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
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ First steps | |
requirements | ||
installation | ||
vagrant | ||
php_server | ||
manual_config | ||
upgrading | ||
moving | ||
|
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,33 @@ | ||
# Using PHP server for development | ||
|
||
If *Vagrant* is too heavy for your purpose, you can simply use *PHP built-in server*. | ||
|
||
Following command will launch a web-server listening on all IP addresses on port | ||
8080. We also use a dedicated *router* file to serve static and generated resources: | ||
|
||
```bash | ||
# Create a new Roadiz project | ||
composer create-project roadiz/standard-edition | ||
# Create a new theme for your project | ||
cd standard-edition | ||
bin/roadiz themes:generate --symlink --relative FooBar | ||
# Launch PHP server with web folder as root | ||
php -S 0.0.0.0:8080 -t web vendor/roadiz/roadiz/conf/router.php | ||
``` | ||
|
||
If you want to use PHP internal server, make sure you have installed all required | ||
PHP extensions and that you have a database server: | ||
|
||
- You can use a local MySQL/MariaDB server | ||
- Or use a SQLite3 database, just use `../app/conf/database.db3` path during install. | ||
|
||
> PHP web server was designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server. It should not be used on a public network. | ||
## Use Mailhog to catch outgoing emails | ||
|
||
Contrary to *Vagrant*, using PHP built-in server does not provide any additional tool such as *Mailcatcher* or *Apache Solr*. | ||
You can setup [Mailhog](https://github.com/mailhog/MailHog) to catch outgoing emails in a clean web interface. | ||
|
||
On *macOS*, use *HomeBrew*: `brew update && brew install mailhog`, then configure your PHP `sendmail_path` to | ||
use it. | ||
|
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,22 @@ | ||
alabaster==0.7.10 | ||
Babel==2.5.1 | ||
certifi==2017.11.5 | ||
chardet==3.0.4 | ||
CommonMark==0.5.4 | ||
docutils==0.14 | ||
idna==2.6 | ||
imagesize==0.7.1 | ||
Jinja2==2.10 | ||
MarkupSafe==1.0 | ||
Pygments==2.2.0 | ||
pytz==2017.3 | ||
recommonmark==0.4.0 | ||
requests==2.18.4 | ||
six==1.11.0 | ||
snowballstemmer==1.2.1 | ||
Sphinx==1.6.5 | ||
sphinx-rtd-theme==0.2.4 | ||
sphinxcontrib-websupport==1.0.1 | ||
urllib3==1.22 | ||
|
||
git+https://github.com/jhermann/pygments-markdown-lexer.git#egg=pygments-markdown-lexer==pygments-markdown-lexer |
Oops, something went wrong.