Jump to content

Local webserver

Go to solution Solved by pedro69,

Hey,

I'm making my own website and I want a webserver to see if my code works before committing to github.

On mac this is easy, you just type in this:

cd /path/to/code&&python -m SimpleHTTPServer

But on windows i just can't find a quick and easy way to set this up :/

How do i do this quickly? (i'm only using html, css and js so no need for php)

Thanks,

mikat

Link to comment
https://linustechtips.com/topic/539686-local-webserver/
Share on other sites

Link to post
Share on other sites

1 minute ago, Brenz said:

If you are only using client side languages and mark-up then you don't need a web server at all. Just open the file in your browser of choice

my website uses cookies, and chrome can't do cookies on file:// :)

Link to comment
https://linustechtips.com/topic/539686-local-webserver/#findComment-7150276
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×