satyr/README.md
knotteye 961b5fe648 Add config option to turn server side rendering off.
Ensure templates are precompiled before starting the server.
2020-10-16 21:31:23 -05:00

33 lines
814 B
Markdown

## Satyr: A livestreaming server
System dependencies: A stable version of node>=10, mysql3 (or a compatible implementation such as MariaDB), and ffmpeg >=4.2
### Setup Instructions
```bash
git clone https://gitlab.com/knotteye/satyr.git
cd satyr
npm install
npm run setup
```
Follow the instructions after setup runs.
### Run the server
```bash
npm run start
```
You can also skip checking the database version and compiling templates (if you don't use server-side rendering) on startup.
```bash
npm run start -- --skip-migrate --skip-compile
# don't forget to migrate manually when you update
npm run migrate
# and compile templates after any changes
npm run make-templates
```
## Contributing
1. Fork the repository
2. Create new feature branch
3. Write Code
4. Create an request to merge back into develop