Browse Source

Add some additional details in readme

pull/1886/head
Gabe Kangas 5 years ago committed by GitHub
parent
commit
eb1c03c15f
  1. 10
      web/README.md

10
web/README.md

@ -2,7 +2,7 @@ This is a [Next.js](https://nextjs.org/) project with [TypeScript](https://www.t @@ -2,7 +2,7 @@ This is a [Next.js](https://nextjs.org/) project with [TypeScript](https://www.t
## Getting Started
First, run the development server:
**First**, run the development server:
```bash
npm run dev
@ -10,6 +10,9 @@ npm run dev @@ -10,6 +10,9 @@ npm run dev
yarn dev
```
**Second**, make sure you're running an instance of Owncast on localhost:8080, as your copy of the admin will look to use that as the API.
In production this Admin instance would ideally live on the domain as your Owncast instance, for example: `myowncast-site.com/admin`. So open [http://localhost:3000/admin](http://localhost:3000/admin) with your browser to see the result.
You can start editing a page by modifying `pages/something.js`. The page auto-updates as you edit the file.
@ -20,11 +23,12 @@ Since this project hits API endpoints you should make requests in [`componentDid @@ -20,11 +23,12 @@ Since this project hits API endpoints you should make requests in [`componentDid
A list of API end points can be found here:
https://github.com/owncast/owncast/blob/master/router/router.go
https://owncast.online/api/development/
### Auth-ing for APIs
Auth: HTTP Basic
username: admin
pw: [your stramkey]
pw: [your streamkey]
## Learn More

Loading…
Cancel
Save