diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-05-21 08:42:34 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-05-21 11:18:08 +0200 |
commit | 99f4b51236437ed8975148f0375e683c57b57946 (patch) | |
tree | 5abcdb22362b87cef67ca0a124587a3bd9c2f214 /README.md | |
parent | d84933f88ec57bf495da9a93ad7caa7adcda1aeb (diff) |
Add README.md and COPYING files
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..c44ed2a --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +# ogCP + +ogCP (OpenGnsys Control Panel) is the new web interface, a modern alternative +to the classical administration panel (WebConsole). + +## Installation + +Steps to install ogCP on Ubuntu 18.04 LTS: + +* Clone the repository that is temporarily available at: +https://github.com/javsanpar/ogCP +* Edit `ogcp/cfg/ogcp.json` and include the API token and the IP address of +the ogServer. In addition, we must define the user and the key we want for +authentication in ogCP. +* Create a python virtual environment. + * Install venv with: + ```bash + apt-get install python3-venv + ``` + * Create the folder where we will start the virtual environment. + * Create the virtual environment with: + ```bash + python3 -m venv ./previous-folder + ``` +* Activate the shell with the virtual environment with: + ```bash + source ./previous-folder/bin/activate + ``` +* (Optional) If you want to expose ogCP to other machines, you must edit +`run_test.sh` with: + ```bash + ... + flask run --host=0.0.0.0 + ``` +* With the shell linked to the newly created python environment, navigate to +the folder where you cloned ogCP and launch: + ```bash + ./run_test.sh + ``` + When running `run_test.sh` for the first time some errors are expected, but + they do not affect to the usability of ogCP. + +## License + +ogCP is released under the GNU Affero Public License v3+ + +## Authors + +[Soleta Networks](https://opengnsys.soleta.eu) |