Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karmek-k/anikura-server
Multimedia server software
https://github.com/karmek-k/anikura-server
Last synced: 3 days ago
JSON representation
Multimedia server software
- Host: GitHub
- URL: https://github.com/karmek-k/anikura-server
- Owner: karmek-k
- License: agpl-3.0
- Created: 2021-03-29T13:05:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-07T12:03:43.000Z (over 3 years ago)
- Last Synced: 2023-06-30T14:32:54.000Z (over 1 year ago)
- Language: PHP
- Size: 1.13 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Anikura Server
Anikura is a multimedia server written in PHP, using the [Symfony](https://symfony.com/) framework.
## Requirements
- PHP 8
- Composer
- Node.js
- Yarn
- PostgreSQL (database)## Installation
**TODO: add Docker installation guide**
### Manual installation
1. **TODO: add requirements check**
2. Install dependencies with Composer
```bash
# for development
composer install# for deployment
composer install --no-dev --optimize-autoloader
```3. Create a .env.local file and edit it to your needs.
(It won't be commited to any git repository.)(**IMPORTANT**: if you're deploying the app,
you *MUST* set `APP_ENV` to `prod` and edit `APP_SECRET`.)```bash
cp .env .env.local
```4. Create a database and migrate tables.
```bash
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
```You can also load sample data fixtures when developing:
```bash
php bin/console doctrine:fixtures:load
```5. Install Node.js dependencies with Yarn:
```bash
yarn
```6. Build the front-end bundle with Encore
(if you don't plan on modifying JS, CSS etc,
then you will need to perform this only once)```bash
# for development
yarn dev# for deployment
yarn build
```Watching for changes is also possible:
```bash
yarn watch
```7. Serve the `public` catalog
```bash
# for development
php -S localhost:8000 -t public# for deployment, you will want to use Apache, nginx, Caddy etc
```And that's it! Now you can use Anikura.
**TODO: actually not (at least not in production) - add admin user creation**