mirror of
https://gitlab.com/JKANetwork/powerfulcomputermanager.git
synced 2026-02-22 21:13:43 +01:00
First version with web gui
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 2020/02/20
|
||||
- Fixing more bugs
|
||||
- First public beta of web gui, it doesn't have some parts but it's working
|
||||
|
||||
## 2019/11/21
|
||||
- Fixing bugs of last change and cleaning some code
|
||||
- Preparing web gui (It's hide yet)
|
||||
|
||||
@@ -15,8 +15,8 @@ It's not error proof, then, I don't have any responsability if something crashes
|
||||
|
||||
- Complete translation English and Spanish
|
||||
- Stabilize all
|
||||
- I created a simple GUI in EasyGUI to be easy used, but if I have time, maybe will do a webUI more dynamic and visually better (Without needing to install php/apache/nginx, using python)
|
||||
- Support Linux clients
|
||||
- Make better WebUI to replace all easygui (Password create/change and some subpages)
|
||||
|
||||
# Requirements
|
||||
|
||||
@@ -29,17 +29,19 @@ For server you can use Linux, Mac or Windows, and in theory any environment that
|
||||
- Yaml
|
||||
- Python3 deps can be installed it using pip install command (pip install pyopenssl flask pyyaml)
|
||||
|
||||
- For controlling the program, you have to start control.pyw using Python3. It doesn't need to be started in server, but it has to be in that folder (Or with configpcm.ini file).
|
||||
- It uses easygui of python3 (pip install easygui)
|
||||
- For controlling the program, you have to enter in a browser and go to https://SERVERIP:3434 (By default)
|
||||
- At first time yet, for putting password, you have to start control.pyw using Python3 (Needs easygui, pip install easygui). It doesn't need to be started in server, but it has to be in that folder (Or a folder with configpcm.ini file).
|
||||
|
||||
## Clients
|
||||
- Windows:
|
||||
- Windows 7 SP1 absolute minimal, but its only officially tested in 8.1 and 10, Windows 7 is being old now.
|
||||
- It needs Powershell 5.0+ (Or Powershell Core 6.1+), lower versions doesnt guaranteed to work, not tested. In Windows 7 and 8.1, you have to update Powershell. (With Powershell 3.0/4.0, some commands like Get-Package doesn't work)
|
||||
You can update from here: https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell?view=powershell-6#upgrading-existing-windows-powershell (Download link: https://www.microsoft.com/en-us/download/details.aspx?id=54616)
|
||||
- Windows 7 SP1 absolute minimal, but its only officially tested in 8.1 and 10, Windows 7 is obsolete by Microsoft.
|
||||
- It needs Powershell 5.0+ (Or Powershell Core 6.2+), lower versions doesn't have some of the commands and are not guaranteed to work, not tested. In Windows 7 and 8.1, you have to update Powershell. Windows 10 have Powershell 5 by default
|
||||
You can update from here:
|
||||
-Powershell Core: https://github.com/PowerShell/PowerShell/releases
|
||||
-Powershell 5.1: https://www.microsoft.com/en-us/download/details.aspx?id=54616 )
|
||||
|
||||
- Linux:
|
||||
- Not supported yet, but when Windows be stable, I will try to do it in some way
|
||||
- Not supported yet, but when Windows be stable, I will try to do using bash scripts
|
||||
|
||||
- Clients may have to be queried by DNS requests. If you don't have a domain (Samba or Windows AD), you may have to have a DNS server with local machines
|
||||
|
||||
@@ -48,7 +50,7 @@ For server you can use Linux, Mac or Windows, and in theory any environment that
|
||||
## Server
|
||||
- Copy this folder to a folder in your server
|
||||
- Install dependencies
|
||||
- Start the server: Start api.py using loadserver.bat (Windows) o loadserver.sh (Linux) file. You can do in systemd way, or a cron, or in a terminal of windows server,...
|
||||
- Start the server: Start api.py using loadserver.bat (Windows) o loadserver.sh (Linux) file. You can do in systemd way, or a cron, or in a terminal of windows server,... It also will start the webserver gui app for controlling it (https://localhost:3434).
|
||||
|
||||
## Client. Example using GPO and Task Schedule
|
||||
- Go to "client" folder and copy "configpcm_example.ini" to "configpcm.ini" and change their values to yours. Change lang value for having client gui translated to your lang. Here you will see:
|
||||
@@ -66,4 +68,7 @@ For server you can use Linux, Mac or Windows, and in theory any environment that
|
||||
- Args: -executionpolicy bypass -windowstyle hidden -noninteractive -nologo -file "\\SERVER\SysVol\DOMAINNAME\scripts\client.ps1" -startup 1
|
||||
|
||||
## Control app
|
||||
- Start control.pyw to setup password and start adding computers, groups and cooks and configure options. You can use docs/example_cooks for examples. If anyone wants, I will setup a git repo for cooks.
|
||||
- Start control.pyw to setup password
|
||||
- Go to a browser and load https://SERVER_IP:3434/ , login and manage all. control.pyw is the old way, it has to work, but its deprecated
|
||||
|
||||
- For creating cooks, you can see the documentation (It takes 3 minutes to make something workable), and can use docs/example_cooks for examples. If anyone wants, I will setup a git repo for cooks.
|
||||
Reference in New Issue
Block a user