|
1 | | - |
2 | | - |
3 | | -``` |
4 | | -$ cf dev start |
5 | | -Downloading Resources... |
6 | | -Starting VPNKit ... |
7 | | -Starting the VM... |
8 | | -Deploying the BOSH Director... |
9 | | -Deploying CF... |
10 | | -
|
11 | | - ██████╗███████╗██████╗ ███████╗██╗ ██╗ |
12 | | - ██╔════╝██╔════╝██╔══██╗██╔════╝██║ ██║ |
13 | | - ██║ █████╗ ██║ ██║█████╗ ██║ ██║ |
14 | | - ██║ ██╔══╝ ██║ ██║██╔══╝ ╚██╗ ██╔╝ |
15 | | - ╚██████╗██║ ██████╔╝███████╗ ╚████╔╝ |
16 | | - ╚═════╝╚═╝ ╚═════╝ ╚══════╝ ╚═══╝ |
17 | | - is now running! |
| 1 | +# CF Dev |
18 | 2 |
|
19 | | -To begin using CF Dev, please run: |
20 | | - cf login -a https://api.dev.cfdev.sh --skip-ssl-validation |
21 | | -
|
22 | | -Admin user => Email: admin / Password: admin |
23 | | -Regular user => Email: user / Password: pass |
| 3 | + |
24 | 4 |
|
25 | | -``` |
| 5 | + |
26 | 6 |
|
27 | 7 | *********************************** |
28 | 8 |
|
29 | | -CF Dev is a new distribution of Cloud Foundry designed to run on a developer’s laptop or workstation using native hypervisors and a fully functional BOSH Director. CF Dev gives application developers the full Cloud Foundry experience in a lightweight, easy to install package. CF Dev is intended for application developers who wish to develop and debug their application locally on a full-featured Cloud Foundry. CF Dev is also an excellent getting started environment for developers interested in learning and exploring Cloud Foundry. |
30 | | - |
31 | | -## Prerequisites |
32 | | - |
33 | | -* [CF CLI](https://github.com/cloudfoundry/cli) |
34 | | -* Internet connection (or Dnsmasq or Acrylic) required for wildcard DNS resolution |
35 | | -* Please note CF Dev only supports MacOS and Windows 10 at this time |
| 9 | +CF Dev is a distribution of Cloud Foundry designed to run on a developer’s laptop or workstation using native hypervisors and a fully functional BOSH Director. CF Dev gives application developers the full Cloud Foundry experience in a lightweight, easy to install package. CF Dev is intended for application developers who wish to develop and debug their application locally on a full-featured Cloud Foundry. CF Dev is also an excellent getting started environment for developers interested in learning and exploring Cloud Foundry. |
36 | 10 |
|
37 | 11 | ## Recommended system requirements |
38 | | -* Operating system: MacOS 10.12+/Windows 10+ |
| 12 | + |
| 13 | +* Operating system: MacOS 10.12+/Windows 10+/Linux |
39 | 14 | * CPU: 2 Cores or more |
40 | 15 | * Memory: 8 Gigabytes _available memory_ |
41 | 16 | * Disk: 60GB _flash_ storage |
| 17 | +* Dependencies: _QEMU_ and _Libvirt_ for Linux |
| 18 | + * Ubuntu: `sudo apt install qemu-kvm libvirt-bin libvirt-doc` |
42 | 19 |
|
43 | | -## Install |
44 | | -1. _(if needed)_ Uninstall your existing PCF Dev plugin if it is installed `cf uninstall-plugin pcfdev` |
45 | | -1. Install the CF Dev plugin `cf install-plugin -r CF-Community "cfdev"`. |
46 | | - |
47 | | -## Start |
48 | | -Run CF Dev `cf dev start`. |
| 20 | +## Getting Started |
49 | 21 |
|
| 22 | +### Install |
50 | 23 |
|
51 | | -## Run BOSH with CF Dev |
52 | | -1. _(if needed)_ Install [BOSH CLI v2](https://bosh.io/docs/cli-v2.html). |
53 | | -1. Set environment variables to point BOSH to your CF Dev instance `eval "$(cf dev bosh env)"`. |
54 | | -1. Run BOSH `bosh <command you want to run>`. |
| 24 | +1. Install the [CF CLI](https://github.com/cloudfoundry/cli) |
| 25 | +1. Install the CF Dev plugin `cf install-plugin -r CF-Community cfdev` |
| 26 | +1. Run CF Dev `cf dev start` |
55 | 27 |
|
56 | | -## Project Backlog |
| 28 | +### Use BOSH |
57 | 29 |
|
58 | | -Follow the CF Dev team's progress [here](https://github.com/cloudfoundry-incubator/cfdev/projects/1). This backlog contains a prioritized list of features and bugs the CF Dev team is working on. Check the project board for the latest updates on features and when they will be released. |
| 30 | +1. Install [BOSH CLI v2](https://bosh.io/docs/cli-v2.html). |
| 31 | +1. Set environment variables to point BOSH to your CF Dev instance |
| 32 | + * Unix: `eval "$(cf dev bosh env)"` |
| 33 | + * Windows: `cf dev bosh env | Invoke-Expression` |
| 34 | +1. Run BOSH `bosh <command you want to run>` |
59 | 35 |
|
60 | | -## Uninstall |
| 36 | +### Uninstall |
61 | 37 |
|
62 | 38 | To stop CF Dev run `cf dev stop`. This will completely stop and destroy the CF Dev VM. |
63 | 39 |
|
64 | 40 | To uninstall the CF Dev cf CLI plugin run `cf uninstall-plugin cfdev`. |
65 | 41 |
|
| 42 | +To reclaim consumed disk space, delete your CF Dev directory: |
| 43 | + |
| 44 | +* Unix: `rm -rf ~/.cfdev` |
| 45 | +* Windows `Remove-Item -Recurse ~/.cfdev` |
| 46 | + |
| 47 | +## Features |
| 48 | + |
| 49 | +* **Insecure Docker Registries:** Invoke `cf dev start` with the `-r` flag to specify a comma separated list of insecure docker registries that will be |
| 50 | + available for use during the `cf push` process. |
| 51 | + |
| 52 | +* **Proxy Support:** Export `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` environment variables during your terminal session to have them respected during the start process and _within_ |
| 53 | + your CF Dev virtual machine. _Not yet supported on the Linux platform_. |
| 54 | + |
| 55 | +* **Host Access:** Access the host machine from within application containers using the `host.cfdev.sh` domain name. |
| 56 | + |
| 57 | +* **TCP Routing:** You can learn more about TCP Routing from within the Cloud Foundry platform [here](https://github.com/cloudfoundry/routing-release#post-deploy-steps). |
| 58 | + |
66 | 59 | ## Telemetry |
67 | 60 |
|
68 | 61 | Here on the CF Dev team, we use telemetry to help us understand how our tool is being used. We value our users privacy, therefore all telemetry is completely anonymous. There is no way for anyone with the telemetry to identify who is using the CF Dev tool. In an effort to make our data as transparent as possible, we will be publishing aggregated anonymous usage data to this page periodically to help our user community understand how the tool is being used. |
69 | 62 |
|
70 | | -In addition to making this data completely anonymous, we require users to opt-in to allowing us to collect telemetry from their tool. Upon running `$ cf dev start` for the first time, we will prompt the user to opt-in to capturing analytics. Any time after that you can turn on/off telemetry by running `$ cf dev telemetry --on/off` |
| 63 | +In addition to making this data completely anonymous, we require users to opt-in to allowing us to collect telemetry from their tool. Upon running `$ cf dev start` for the first time, we will prompt the user to opt-in to capturing analytics. Any time after that you can turn on/off telemetry by running `$ cf dev telemetry --on/off`. |
71 | 64 |
|
72 | 65 | You can learn more about what we do with telemetry [here](https://github.com/cloudfoundry-incubator/cfdev/wiki/Telemetry) |
73 | 66 |
|
74 | | -## TCP Ports |
| 67 | +## Community |
| 68 | + |
| 69 | +* [#cfdev on Cloudfoundry Slack](https://cloudfoundry.slack.com) |
75 | 70 |
|
76 | | -The tcp port range has been limited to 1024 - 1049 to prevent reaching file descriptor limits on some systems. |
| 71 | +* [Contributing](CONTRIBUTING.md) |
77 | 72 |
|
78 | | -## Contributing |
| 73 | +## FAQ |
79 | 74 |
|
80 | | -If you are interested in contributing to CF Dev, please refer to the [contributing guidelines](CONTRIBUTING.md). |
| 75 | +See [FAQ](FAQ.md). |
0 commit comments