You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LOCAL_DEVELOPMENT_SETUP.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@ It is not possible to run the [build system](https://blog.swiftpackageindex.com/
8
8
9
9
### Setup the Back End
10
10
11
-
Once you have the project cloned locally, the `Makefile` defines a set of useful commands to get you up and running.
12
-
13
11
Ensure that the latest version of Xcode is "selected" and not the command line tools. You can check this with `xcode-select -p` and set it with `xcode-select -s`.
14
12
13
+
Once you have the project cloned locally, the `Makefile` defines a set of useful commands to get you up and running.
14
+
15
15
You'll need some environment variables configured before you can run the project. There are template files in the repository as `.env.testing.template` and `.env.development.template` and your first step should be to copy these files as `.env.testing` and `.env.development` and review their content in case your setup deviates from the default.
16
16
17
17
Then, to create Postgres databases in Docker for your development and test environments, run:
@@ -26,9 +26,9 @@ Then, to set up the schema and migrate the database to the latest version, run:
26
26
make migrate
27
27
```
28
28
29
-
Then, either run `make run` to start the server, or in most situations, you'll find working with Xcode easier at this stage. Open the project with Xcode and open the Product menu, select "Scheme" and "Manage Schemes…".
29
+
Then, either run `make run` to start the server, or in most situations, you'll find working with Xcode easier. Open the project with Xcode and open the Product menu, select "Scheme" and "Manage Schemes…".
30
30
31
-
Select the "SPI-Server" scheme and click the "Edit…" button. Select the "Run" scheme action from the source list and switch to the "Options" tab. Find the "Working Directory" setting and tick "Use a custom working directory:", then select the directory where you have your working copy of the project.
31
+
Select the "SPI-Server-Package" scheme and click the "Edit…" button. Select the "Run" scheme action from the source list and on the "Info" tab, set the "Executable" to "Run". Then, switch to the "Options" tab. Find the "Working Directory" setting and tick "Use a custom working directory:", then select the directory where you have your checked out copy of the project.
32
32
33
33

0 commit comments