title: Raspberry Pi SimpleHTTPServer startup on boot with chromium launch
body: <p>I am currently trying to get a display window I made in html setup to work immediately when the pi is plugged in, without needing to type in command prompt codes everytime it is shutdown</p>
  
  <p>The 3 commands I need are:</p>
  
  <pre><code>cd ~/Desktop/screen
  python -m SimpleHTTPServer
  chromium-browser --start-fullscreen http://localhost:8000
  </code></pre>
  
  <ol>
  <li>The first one directs to the location the files are in (index.html
  and its supporters) </li>
  <li>The second one starts the server in that location </li>
  <li>The third one launches chrome in f11 mode, filling the entire screen and connected to the default location of SimpleHTTPServer</li>
  </ol>
  
  <p>I have implemented this directly in the terminal and it works, but even just sticking this in a .sh file does not operate, let alone hooking the .sh into the backend. I was following this instructable: <a href="https://www.instructables.com/id/Raspberry-Pi-Launch-Python-script-on-startup/" rel="nofollow noreferrer">https://www.instructables.com/id/Raspberry-Pi-Launch-Python-script-on-startup/</a></p>
  
  <p>The thing is only serving static content, and people only will access it with their eyes looking at the screen. (If chrome allowed access to local files, it would literally be opening an html document). I tried setting up a full server, but between me being new to linux, pi, and servers, that did not get far.</p>
  
  <p>Any help getting this set up will be greatly appreciated.</p>