diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-09-03 14:22:59 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-09-03 14:22:59 +0200 |
commit | 579716aa412baa62e0c8608c56bef6d140da6543 (patch) | |
tree | 60bcd3f6dcf2659cea05d72a6221bcf29ba346d5 /README.md | |
parent | c21fda4b08b4899ebf4b9eb13d0bb1e0aab15cbe (diff) | |
download | picontrol-579716aa412baa62e0c8608c56bef6d140da6543.tar picontrol-579716aa412baa62e0c8608c56bef6d140da6543.tar.zst picontrol-579716aa412baa62e0c8608c56bef6d140da6543.zip |
Customize Template
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 49 |
1 files changed, 2 insertions, 47 deletions
@@ -1,50 +1,5 @@ -# Web Template +# picontrol -A template project for dynamic web applications. - - -## Usage - -### Just try it -``` -# Install Flask and waitress with your linux package manager. -# Otherwise you could use pip: -pip3 install --user Flask waitress - -git clone https://github.com/xengineering/web-template.git -cd web-template -python3 main.py - -# switch to another terminal - -curl http://localhost:8080 # test with curl -firefox http://localhost:8080 # test with firefox -``` - -### Use it for your Project -``` -# start 'myproject' (rename it if you want to) -git clone https://github.com/xengineering/web-template.git myproject -cd myproject -git remote rename origin template -git branch template # create branch for the template -git branch --set-upstream-to=template/master template -git branch --unset-upstream master -``` - -### Add a Remote for your specific Project -``` -git remote add origin <myproject-upstream-url> -git branch -M master -git push -u origin master -``` - - -## Used Technologies - -- [Python 3](https://www.python.org/) -- [Python Flask](https://palletsprojects.com/p/flask/) -- [Waitress WSGI Server](https://github.com/Pylons/waitress) -- Pure HTML, CSS and JavaScript +A small Web Application to shutdown or reboot your Raspberry Pi. |