The FarmData2 Development Environment is a fully containerized Linux-based desktop for working on the FarmData2 project. Using this FarmData2 Development Environment ensures that you have the correct versions of all the tools, libraries and other dependencies needed to do FarmData2 development.
The Linux-based FarmData2 Development Environment.
Instructions for installing and connecting to the FarmData2 Development Environment can be found in the INSTALL document.
Once you have connected to the FarmData2 Development Environment you can access the farmOS application (including the FarmData2 module) by connecting the browser to: http://farmdata2. The farmOS Credentials can be used to log in to the farmOS application.
The FarmData2 Development Environment has two types of credentials:
- The Linux Credentials apply to the user within the FarmData2 Development Environment.
- The farmOS Credentials apply to logging into the farmOS instance that is running in the FarmData2 Development Environment.
When connecting to the FarmData2 Development Environment you will be automatically Logged into the Linux system with the following credentials:
- User:
fd2dev - Pass:
fd2dev
The fd2dev user belongs to the following groups::
fd2docker- allowing it to run docker commands by using the host's docker daemon.fd2dev- allowing it to change files mounted from the host.sudo- allowing it to run commands as root.
You can log in to the farmOS instance running in the FarmData2 Development Environment by connecting the browser to:
and by using any of the following credentials:
- The Drupal Admin User:
- User:
admin - Pass:
admin
- User:
- A farmOS Farm Manager:
- User:
manager1(or2) - Pass:
farmdata2
- User:
- A farmOS Farm Worker:
- User:
worker1(or2,3,4,5) - Pass:
farmdata2
- User:
- A farmOS Guest:
- User:
guest - Pass:
farmdata2
- User:
The farmOS users correspond to the default managed roles defined by the farmOS application.
The FarmData2 Development Environment is Linux-based and uses the Linux conventions for copying and pasting within the development environment.
The method for copy and pasting between the host machine and the development environment depends on whether the development environment is being accessed in the browser or by using a VNC client.
The FarmData2 Development Environment is Linux-based and uses the following Linux conventions when copying and pasting within the development environment:
- Within a terminal window:
- Copy:
CTRL+SHIFT+C - Paste:
CTRL+SHIFT+V
- Copy:
- Within any other application:
- Copy:
CTRL+C - Paste:
CTRL+V
- Copy:
When connected to the development environment in the browser you must use the noVNC clipboard to copy and paste between the host machine and the development environment. The noVNC clipboard is accessed from the noVNC Menu at the left edge of the desktop.
To copy from the host into the development environment:
- Copy the text from the host operating system with the host operating system's copy command.
- Open the noVNC Clipboard.
- Paste the copied text into the noVNC Clipboard with the host operating system's paste command.
- Paste the text into the development environment with the development environment's paste command (
CTRL-VorCTRL-SHIFT-V).
To copy from the development environment into the host:
- Copy the text from the development environment with the development environment's copy command (
CTRL-CorCTRL-SHIFT-C). - Open the noVNC Clipboard.
- Copy the text from the noVNC Clipboard with the host operating system's copy command.
- Paste the copied text into the host operating system with the host operating system's paste command.
When connected to the development environment in a VNC client, copy and paste is more natural. Use the host operating system's commands to copy and paste on the host and the Linux copy and paste commands (CTRL-C or CTRL-SHIFT-C) to copy and paste in the development environment.

