Skip to content

Commit

Permalink
Updating project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch authored Aug 17, 2023
1 parent f891f9e commit 290cea1
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions docs/project-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,23 @@

First, make sure to read the tutorial's [readme](../README.md) and follow the [prerequisites section](../README.md#prerequisites). Then set up a new F´ project using the `fprime-util new --project` command. Please select a project name of `led-blinker`, an F´ version of `devel`, and to create a project virtual environment.

> Remember to activate the virtual environment you created when installing F´.
```
$ fprime-util new --project
Project name [MyProject]: led-blinker
F´ version (select branch or tag) [devel]: devel
Install virtual environment?:
1 - yes
2 - no
Choose from 1, 2 [1]: 1
Virtual environment install path [./venv]:
[1/2] Project name (MyProject): led-blinker
[2/2] Install F´ development tools in current virtual environment?
1 - yes
2 - no
Choose from [1/2] (1): 1
```
> If you bootstrapped the F´ tools in a virtual environment `deactivate` that environment before activating the new one below.
Next, activate the new virtual environment and generate a build cache using the following commands:

```
cd MyProject
. ./venv/bin/activate
cd led-blinker
fprime-util generate
```

> Remember to source the virtual environment in any new terminal you open.
### Next Step: [Component Design and Initial Implementation](./component-implementation-1.md).

0 comments on commit 290cea1

Please sign in to comment.