Skip to content

Commit

Permalink
Merge pull request #227 from leepeuker/add-dockerless-install
Browse files Browse the repository at this point in the history
Add dockerless install
  • Loading branch information
leepeuker authored Jan 12, 2023
2 parents c7f8aa3 + a14dd7b commit 509de0e
Showing 1 changed file with 30 additions and 7 deletions.
37 changes: 30 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Demo installation can be found [here](https://demo.movary.org/) (login email `te

1. [About](#about)
2. [Install](#install)
1. [With Docker (recommended)](#install-with-docker)
1. [With Docker (recommended)](#install-with-docker-recommended)
2. [Without Docker](#install-without-docker)
3. [Important: First steps](#important-first-steps)
4. [Features](#features)
Expand Down Expand Up @@ -61,7 +61,7 @@ which can lead to sudden breaking changes until then, so keep the release notes

## Install

### Install with docker
### Install with docker (recommended)

This is the recommended way to run the app.

Expand Down Expand Up @@ -137,11 +137,32 @@ Continue with [Important: First steps](#important-first-steps)
### Install without docker
coming soon...
**Software requirements:**
- PHP 8.1
- git
- composer
- web server
- supervisor (optional)
```
git clone https://github.com/leepeuker/movary.git .
cp .env.production.example .env
composer install --no-dev
php bin/console.php storage:link
```

- Use the `.env` file to set the environment variables
- Setup web server host for php (`public` directory as document root)
- Make sure that the permissions on the `storage` directory are set correctly (the php should be able to write to it)
- Use supervisor to continuously process jobs, see `settings/supervisor/movary.conf` for an example config

Continue with [Important: First steps](#important-first-steps)


## Important: First steps

You can run movary commands in docker via e.g. `docker exec movary php bin/console.php`
You can run movary commands via `php bin/console.php`

1. Execute missing database migrations: `php bin/console.php database:migration:migrate` (on **initial installation** and ideally **after every update**)
2. Create initial user
Expand Down Expand Up @@ -224,9 +245,10 @@ You can select what you want movary to scrobble (movie views and/or ratings) via

### Jellyfin Scrobbler

Automatically track movies watched via Jellyin with Movary.
Automatically track movies watched via Jellyin with Movary.

You can generate your Jellyfin webhook url on the Jellyfin settings page (`/setting/jellyfin`) and configure it in Jellyfin via the [webhook plugin](https://github.com/jellyfin/jellyfin-plugin-webhook).
You can generate your Jellyfin webhook url on the Jellyfin settings page (`/setting/jellyfin`) and configure it in Jellyfin via
the [webhook plugin](https://github.com/jellyfin/jellyfin-plugin-webhook).

### Trakt.tv Import

Expand Down Expand Up @@ -300,7 +322,8 @@ A: Currently there is no active development for supporting more media types. Con

Q: Can I share my history and ratings publicly?

A: Yes, you can set (e.g. via `/settings` page) your `Privacy` levels and decide who is allowed to view your data. All page urls starting with `/users/<username>/...` (= pages with a user selector at the top) can be set to be publicly visible.
A: Yes, you can set (e.g. via `/settings` page) your `Privacy` levels and decide who is allowed to view your data. All page urls starting with `/users/<username>/...` (= pages with
a user selector at the top) can be set to be publicly visible.

## Development

Expand Down

0 comments on commit 509de0e

Please sign in to comment.