-
-
Notifications
You must be signed in to change notification settings - Fork 0
Rebuild the app createstructure locally
Install the app-createstructure locally permits you to do some debug and try new configurations.
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
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:
- Download the last LTS version of Ubuntu by the following link: https://ubuntu.com/download/desktop
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)
Now you have to install building dependencies. To install Dependes on the Virtual Machine you need to follow this instructions
To compile and use the application you can create a virtual phone on Android Studio and run on it the application.