Files
artcraft/_develop/local_development_setup.md
T
2023-08-30 19:47:01 -04:00

80 lines
1019 B
Markdown

local development setup
=======================
Ubuntu 22.04
------------
### Development setup
Install NPM and Yarn
```bash
sudo apt install npm
sudo npm install --global yarn
```
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
```bash
yarn install
```
Start development server for FakeYou
```bash
yarn start-fakeyou
```
MacOS
-----
### Development setup
Install NPM and Yarn
```bash
sudo apt install npm
sudo npm install --global yarn
```
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
```bash
yarn install
```
Start development server for FakeYou
```bash
yarn start-fakeyou
```
Windows
-------
See [windows.md](./windows.md)