Disclaimer: Neither this project nor its owner will take any responsibility for any illegal use.
I use this repo to test weird coding habits on a larger scale, don't expect the code to be pretty
- Be running Linux
- Install Git
- Install docker
- Install docker-compose
- Create a Google API Project
- Add the Google+ API library
- Generate some Credentials for Oauth2
- Application Type:
- Web Application
- Authorized origins:
https://localhost
orhttps://yourdomain.com
- Authorized redirect URIs:
https://localhost/oauth2callback
orhttps://yourdomain.com/oauth2callback
- Application Type:
git clone https://github.com/Meshiest/mrseedbox.git
cd mrseedbox
cp common.env.default common.env
cp docker-compose.yml.default docker-compose.yml
ORcp letsencrypt-docker-compose.yml docker-compose.yml
for letsencrypt- Edit your docker-compose.yml and common.env files (put google api client and secret in)
- Make sure you change EXAMPLE.COM if you're using the letsencrypt dockerfile
- Generate a SSL Cert:
./setup
- If you are using LetsEncrypt, you can use
certbot certonly --standalone
- If you are using LetsEncrypt, make sure you generate a dhparam:
sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
- If you are using LetsEncrypt, you can use
- The first person to connect and auth will be the "owner"
- You will have to go through the initial emby setup at
localhost:8096
! - If you are migrating from the old versions, you may have to
docker build backend
before starting the containers. If that doesn't work, you should remove all containers and images associated with this app and./start
it again - Don't forget to add this to your MyAnimeList Custom CSS for the best experience:
@import url(https://gist.githubusercontent.com/Meshiest/cf3a3a4e16f5669ce7540445bf5b4cbf/raw/style.css)
If you do use the above LetsEncrypt instructions, you should get some nice A+ SSL like this:
./start
- start, build, and update containers. If you need to update emby, you can run thisdocker-compose up -d
- same as above./stop
- should stop containersdocker-compose kill ; docker-compose rm -f
- same as above./db
- should open db container for debugging./server
- should restart sinatra server container (by force >:) )docker-compose restart mrseedbox_backend_1
- should be a nicer way of doing abovedocker logs -f mrseedbox_backend_1
- read logs from sinatra serverdocker ps
- list containersdocker exec -it mrseedbox_backend_1 bash
- get a shell in the backend container- You should know that creating a
debug
file in the backend folder will prevent authentication
- You need docker
- NPM/node
- Make your changes
docker build .
./start
from the parent directory anddocker logs -f mrseedbox_backend_1
and check if there were any problems starting the container
- Change app.jsx
npm install --only=dev
in backend/public/jsnpm test