Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple server for local use #160

Closed
progandy opened this issue Jun 23, 2014 · 3 comments
Closed

Simple server for local use #160

progandy opened this issue Jun 23, 2014 · 3 comments
Milestone

Comments

@progandy
Copy link

For use in a small local network, you won't need a heavy webserver like nginx. The built-in webserver in php 5.4+ should be enough, so that might be a good example for the readme.

$ cd cops
$ ln -s "~/Calibre Library" library
$ cat config_local.php
<?php
    if (!isset($config))
        $config = array();
    $config['calibre_directory'] = './library/';
    $config['cops_title_default'] = "COPS";
    $config['cops_use_url_rewriting'] = "0";
$ php -S 192.168.0.3:8080
@seblucas
Copy link
Owner

Thanks, will do that in a week or so

@seblucas
Copy link
Owner

Wiki updated : https://github.com/seblucas/cops/wiki/Howto---PhpEmbeddedServer

Thanks and sorry for the delay

@seblucas seblucas added this to the 1.0.0RC2 milestone Jul 21, 2014
@lazki
Copy link

lazki commented Mar 29, 2018

In Debian Stretch you need to install php-cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants