docs/run-an-instance: teaching myself how to count to 6

sorry guys, it takes a ton of practice :(
This commit is contained in:
wukko 2024-09-13 12:39:10 +06:00 committed by GitHub
parent f830a1219d
commit 9c2babfc1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,11 +40,11 @@ requirements:
1. clone the repo: `git clone https://github.com/imputnet/cobalt`. 1. clone the repo: `git clone https://github.com/imputnet/cobalt`.
2. go to api/src directory: `cd cobalt/api/src`. 2. go to api/src directory: `cd cobalt/api/src`.
4. install dependencies: `pnpm install`. 3. install dependencies: `pnpm install`.
5. create `.env` file in the same directory. 4. create `.env` file in the same directory.
6. add needed environment variables to `.env` file. only `API_URL` is required to run cobalt. 5. add needed environment variables to `.env` file. only `API_URL` is required to run cobalt.
- if you don't know what api url to use for local development, use `http://localhost:9000/`. - if you don't know what api url to use for local development, use `http://localhost:9000/`.
8. run cobalt: `pnpm start`. 6. run cobalt: `pnpm start`.
### ubuntu 22.04 workaround ### ubuntu 22.04 workaround
`nscd` needs to be installed and running so that the `ffmpeg-static` binary can resolve DNS ([#101](https://github.com/imputnet/cobalt/issues/101#issuecomment-1494822258)): `nscd` needs to be installed and running so that the `ffmpeg-static` binary can resolve DNS ([#101](https://github.com/imputnet/cobalt/issues/101#issuecomment-1494822258)):