Skip to content

createstructure/core-createstructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

core-createstructure

GitHub license Author sys.platform supported

Description

Repo where there's the source to create the repo(s) createstructure/core-createstructure

Class UML

Class UML

Directory structure

../repo
โ”œโ”€โ”€ Dockerfile
โ”œโ”€โ”€ Makefile
โ”œโ”€โ”€ bin # source code
โ”‚ย ย  โ”œโ”€โ”€ core.cpp
โ”‚ย ย  โ”œโ”€โ”€ global-libraries
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ Makefile
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ bin # source code
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ cryptation.cpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ cryptation.hpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ emoji.cpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ emoji.hpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ inputs.cpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ inputs.hpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ json.hpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ positive.cpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ positive.hpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ rest.cpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ rest.hpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ sleep.cpp
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ sleep.hpp
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ docs # documentation
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ CHANGELOG.md
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ LICENSE
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ README.md
โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ libraries-createstructure-Class-UML.svg
โ”‚ย ย  โ”‚ย ย      โ””โ”€โ”€ libraries-createstructure.drawio
โ”‚ย ย  โ””โ”€โ”€ local-libraries
โ”‚ย ย      โ”œโ”€โ”€ getTemplate.cpp
โ”‚ย ย      โ”œโ”€โ”€ getTemplate.hpp
โ”‚ย ย      โ”œโ”€โ”€ getUploadURL.cpp
โ”‚ย ย      โ”œโ”€โ”€ getUploadURL.hpp
โ”‚ย ย      โ”œโ”€โ”€ inputCheck.cpp
โ”‚ย ย      โ”œโ”€โ”€ inputCheck.hpp
โ”‚ย ย      โ”œโ”€โ”€ priority.cpp
โ”‚ย ย      โ”œโ”€โ”€ priority.hpp
โ”‚ย ย      โ”œโ”€โ”€ repo.cpp
โ”‚ย ย      โ”œโ”€โ”€ repo.hpp
โ”‚ย ย      โ”œโ”€โ”€ repoInfoCheck.cpp
โ”‚ย ย      โ”œโ”€โ”€ repoInfoCheck.hpp
โ”‚ย ย      โ”œโ”€โ”€ workload.cpp
โ”‚ย ย      โ””โ”€โ”€ workload.hpp
โ””โ”€โ”€ docs # documentation
    โ”œโ”€โ”€ CHANGELOG.md
    โ”œโ”€โ”€ LICENSE
    โ”œโ”€โ”€ README.md
    โ”œโ”€โ”€ core-createstructure-Class-UML.svg
    โ””โ”€โ”€ core-createstructure.drawio

6 directories, 41 files

Changelog

Repo where there is the docker source to be run by the manager-createstructure

[10.01.12] - 2023-01-30

  • Fixed bugs

[10.01.11] - 2023-01-30

  • Optimized binary (using compilator optimization)
  • Updated update routine

[10.01.10] - 2023-01-27

[10.01.09] - 2022-12-29

[10.01.08] - 2022-03-12

[10.01.07] - 2022-01-05

[10.01.06] - 2022-01-05

[10.01.05] - 2022-01-05

[10.01.04] - 2021-12-17

[10.01.03] - 2021-12-14

[10.01.02] - 2021-12-11

[10.01.01] - 2021-12-10

[09.01.11] - 2021-09-10

Changed

[09.01.10] - 2021-07-18

Changed

  • Updated librerias
  • Optimized imports
  • Formatted source

[09.01.09] - 2021-07-07

Changed

  • Fixed upload

[09.01.08] - 2021-07-04

Added

  • Private option
  • Team option

Changed

  • Optimized name management for repo (now uses prefix)

[09.01.07] - 2021-06-25

Changed

  • Changed the librerias management

[09.01.06] - 2021-06-23

Changed

  • Fixed a bug on git push

[09.01.05] - 2021-06-22

Added

[09.01.04] - 2021-06-22

Added

  • Now the Docker container is supported in multiple platforms

Changed

[09.01.03] - 2021-06-19

Added

  • Enviroments in the GitHub actions

[09.01.02] - 2021-06-19

Changed

  • Docker container publishing mechanisms

[09.01.01] - 2021-06-19

Added

  • Initial version for this repo

Rebuild the core-createstructure locally

Install the core-createstructure locally permits you to do some debug and try new configurations.

ATTENTION

Some features, like subscription with GitHub marketplace, can't be done with the local configuration.

To do these actions you need to run manually the functions, in the previous example CreateUpdateRemoveClient

Steps:

1. Install VirtualBox on the PC

For installation we suggest VirtualBox, a tool that allows you to create one or more virtual machines ๐Ÿ’ป. If any of these crashes, in any case, your PC will not lose data, at most you will have to restart it ๐Ÿ˜„.

To install VirtualBox on your PC you need to:

  • Get in into the UEFI
  • Enable the function which name is like "Virtualization" (for each UEFI this step is different but similar)
  • Save the configuration and restart the PC
  • Go to the VirtualBox website
  • Press "Download"
  • Run the downloaded file
  • Follow the installation steps

2. Install Ubuntu

As the OS we suggest to use Ubuntu, because it is lightweight (for RAM and CPU) and it's free.

To install Ubuntu on VirtualBox you need to:

Now you can continue with the other steps during the download

  • Open VirtualBox
  • Press "New"
  • Compile the form
    • As name put "rest-createstructure"
    • As Type: "Linux"
    • As version: "Ubuntu (64-bit)" or "Ubuntu (32-bit)"
    • Press "Next >"
  • Set the RAM to use for the VirtualMachine, at most half of local RAM and press "Next >"
  • Leave "Create a virtual hard disk now" and press "Create"
  • Leave "VDI ..." and press "Next >"
  • Leave "Dynamically allocated" and press "Next >"
  • Change the hard disk memory, we suggest 16GB and press "Create"

Make sure that Ubuntu download is finished before to continue

  • On the VirtualBox console, selecting the created VM, press "Start"
  • Select as start-up disk Ubuntu, already downloaded
    • Press the folder icon
    • Press "Add", in the top menu
    • Select the Ubuntu iso, the file will have a structure like "ubuntu-version-other_info.iso"
    • Press "Choose" and "Start"
  • Follow the install steps (the installation needs some minutes)

3. Install dependencies

Now you have to install lamp (Linux Apache MySQL (DB) PHP) on the VM.

We suggest you to open this guide on the virtual machine, so you can copy and paste easlier the following commands.

To install Dependes on the Virtual Machine you need to:

  • On the VM (Virtual Machine) open the terminal (Ctrl + Alt + T)
  • On the terminal paste sudo apt update; sudo apt install apt-transport-https ca-certificates curl software-properties-common -y; curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -; sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"; sudo apt install docker-ce -y; sudo usermod -aG docker runner; su - runner; git clone --recurse-submodules https://github.com/createstructure/core-createstructure; cd core-createstructure and insert password

4. Build Docker

To build the Docker, into terminal and inside "core-createstructure" folder type docker build -t core .

5. Run Docker

To run the builded Docker type : docker run core


Made w/ :heart: by Castellani Davide

If you want to contribute you can start with: