From 17697fd5ded9acb2ea53dd5c3eb49e3613103b0f Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 30 Aug 2023 19:47:01 -0400 Subject: [PATCH] dev guide --- _develop/local_development_setup.md | 30 +++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/_develop/local_development_setup.md b/_develop/local_development_setup.md index d1dc8f442b..3b3e8391c6 100644 --- a/_develop/local_development_setup.md +++ b/_develop/local_development_setup.md @@ -4,14 +4,25 @@ local development setup Ubuntu 22.04 ------------ -### Install NPM and Yarn +### Development setup + +Install NPM and Yarn ```bash sudo apt install npm sudo npm install --global yarn ``` -### Develop and run locally +Add the following to your hosts file (`/etc/hosts`) : + +``` +127.0.0.1 dev.fakeyou.com +127.0.0.1 api.dev.fakeyou.com +127.0.0.1 dev.storyteller.ai +127.0.0.1 api.dev.storyteller.ai +``` + +### Run locally Install dependencies @@ -28,14 +39,25 @@ yarn start-fakeyou MacOS ----- -### Install NPM and Yarn +### Development setup + +Install NPM and Yarn ```bash sudo apt install npm sudo npm install --global yarn ``` -### Develop and run locally +Add the following to your hosts file (`/etc/hosts`) : + +``` +127.0.0.1 dev.fakeyou.com +127.0.0.1 api.dev.fakeyou.com +127.0.0.1 dev.storyteller.ai +127.0.0.1 api.dev.storyteller.ai +``` + +### Run locally Install dependencies