-
Install Docker: https://www.docker.com/products/docker-desktop Docker Toolbox for Windows
-
Install Vagrant: https://www.vagrantup.com/downloads.html Follow the advice found in these sections before continuing #### ERROR: for nameserver Cannot start service nameserver: network not found #### On Windows File doesnt exist, error on vagrantinterface
-
Install Pyro4:
pip install Pyro4 -
Install python-vagrant:
pip install python-vagrant -
Install requests:
pip install requests -
Install requests:
pip install guacapy -
Clone repo
-
Navigate to repo folder (where the
start.pyfile is) -
Verify everything is installed:
python start.py check_req. If anything is not installed, install it before continuing. -
Build the system:
python start.py db rebuildNote: This will take some time to complete
-
Start the system:
python start.py start -
Navigate to
http://0.0.0.0:5000/ -
Shutdown the system:
ctrl-c
-
Navigate to the project folder and start the system:
python start.py start -
In a web browser, navigate to
http://0.0.0.0:5000/ -
To stop the server:
ctrl-c
If on windows and using DockerToolbox, add the following port forwading rule to the default vm by using virtualbox, do not remove existing rules: Name Protocol Host IP Host Port Guest Port nameserver TCP 127.0.0.1 9090 9090 guac_rdp TCP 127.0.0.1 8080 8080
If all of the containers are running (none of them exited) but no site is being served to http://0.0.0.0:5000/, you may need to navigate to Docker's IP address instead of localhost. To obtain Docker's IP, run docker machine ip. Then navigate to port 5000 of that IP
The models.py file is not in sync with the database. The database needs to be brought up to speed with the models.py.
-
Delete everything in the
app/migrations/versionsfolder -
Rebuild the database:
python start.py db rebuild -
Start the system:
python start.py start
- add virtualbox folder to path: 'C:\Program Files\Oracle\VirtualBox'
ERROR: Network Does Exist but required Network ip(10.10.0.1) vbox host only adapter in use by other hostonlyifs
- If you want to repurpose the existing hostonly adapter, in the same directory open or create the file "existing_network" and put the name of the corresponding network inside: Examples of file: Windows: "VirtualBox Host-Only Ethernet Adapter #2" Mac: "vboxnet1"