Skip to content

Latest commit

 

History

History
56 lines (32 loc) · 1.82 KB

File metadata and controls

56 lines (32 loc) · 1.82 KB

Installation - setup

Install global tools

Install nix package manager

If you have a pass Culture's computer, which has a proxy that adds a custom certificate, the install may fail.

In that case, you will need to install Nix as follows :

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install  --ssl-cert-file '/Library/Application Support'/*/*/data/*cacert.pem

If you want more information or if you have a problem you can consult nix package manager installation.

Install DirEnv

  1. Install the executable

    brew install direnv

    If you want more information or if you have a problem you can consult DirEnv installation.

  2. You will need to add hook into your user configuration (example: ~/.zshrc).

  3. Start a new terminal to load the new configuration.

Load project environment

cd ./pass-culture-app-native # if needed
direnv allow

The last step can take several tens of minutes, especially the first time.

🚨 If you got an error when executing direnv allow run it twice 🚨

IOS and Android setup

We advise to follow the guidelines to set up your environment by selecting your Development OS and your target OS (Android/iOS).

Android

Follow the steps here.

iOS

Follow the steps here.

Test setup

To make sure your environment is set up correctly, try to run a template application with Create React Native App or with react-native-cli.