Skip to content

Commit a15365e

Browse files
authored
Merge pull request #24 from cs169/187057751-update-INSTALL_SNAPCON
update INSTALL_SNAPCON.md
2 parents da9b573 + 1503b90 commit a15365e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

INSTALL_SNAPCON.md

+13
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@ The recommended setup steps are as follows:
1818
1. Other features will require more environment variables. See [Environment Variables](#environment-variables) and [INSTALL.md#configuration](INSTALL.md#configuration) for all the environment variables that may be set.
1919
1. Run `rake db:setup` (this command and all following commands may need to prefixed with `bundle exec`) to initialize the database.
2020
21+
## Setting Environment Variables for macOS
22+
23+
For developers using macOS, it's necessary to set an environment variable to prevent issues related to forking processes. Before starting the application, please set `OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES` by following these steps:
24+
25+
### For Temporary Use in the Current Terminal Session
26+
27+
Execute the following command in your terminal:
28+
29+
```
30+
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
31+
```
32+
This will set the environment variable for the duration of your current terminal session. You'll need to run this command each time you open a new terminal window.
33+
2134
## Local Deployment
2235
2336
To run Snap!Con, using [Overmind](https://github.com/DarthSim/overmind) or [Foreman](https://github.com/ddollar/foreman) is recommended. Since a release command is run which automatically performs migrations, it is necessary to flag the `release` command as able to be exited without closing all other processes. The Rails server may be run via the typical `rails server` command, but do note that no jobs will be run.

0 commit comments

Comments
 (0)