Pawka / phrozn

Phrozn is extremely flexible static site generator in PHP.
phrozn.info
Apache License 2.0
455 stars 60 forks source link

local server? #95

Open yodrew opened 11 years ago

yodrew commented 11 years ago

Hi,

Two questions:

Does phrozn have a local server so I can see what my site is going to look like before uploading?

When I just click on the home page index.html in my file manager, I see a mostly unstyled page. Is that right?

Thanks!

Pawka commented 11 years ago

Hi,

Local server is not required since phrozn creates static files. It is enough just to check generated files and the result should be the same as you'll have uploaded somewhere.

Styling should be applied too. Check your output dir if css files were copied and if they are linked correctly on html. On Aug 31, 2013 12:31 PM, "Andrew Durham" notifications@github.com wrote:

Hi,

Two questions:

Does phrozn have a local server so I can see what my site is going to look like before uploading?

When I just click on the home page index.html in my file manager, I see a mostly unstyled page. Is that right?

Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/farazdagi/phrozn/issues/95 .

cburyta commented 10 years ago

Alternatively, for those with PHP 5.4+, you can probably use the local php server. For example to serve a server locally that works in http://localhost:808080, try...

php -S 0.0.0.0:808080

http://php.net/manual/en/features.commandline.webserver.php