41 lines
961 B
Markdown
41 lines
961 B
Markdown
# dw0
|
|
|
|
w0bm in docker
|
|
|
|
This repository contains a working solution for easy deployment of the legacy [w0bm](https://git.lat/w0bm/w0bm) software
|
|
|
|
To make use of this you can just pull this repo and build the image and or run the compose
|
|
|
|
You still need to initialize the software and the database manually if you do not have a already existing initialized database.
|
|
|
|
First of all put a .webm file named 1.webm in `w0bm-data/b`
|
|
|
|
`docker exec -it w0bm-legacy /bin/bash`
|
|
|
|
`php7.1 artisan migrate`
|
|
|
|
`php7.1 artisan db:seed`
|
|
|
|
`php7.1 artisan tags`
|
|
|
|
Now visit http://localhost:8080
|
|
|
|
To get upload working do this
|
|
|
|
```
|
|
$ git clone https://git.lat/w0bm/w0bm.git
|
|
$ cd w0bm
|
|
$ mkdir public/thumbs
|
|
$ mkdir public/b
|
|
$ mkdir public/thumbs/beta
|
|
$ mkdir public/thumbs/blurred
|
|
```
|
|
|
|
`docker exec -it w0bm /bin/bash`
|
|
|
|
```
|
|
root@703c9472fed5:/opt/w0bm/public# chmod -R 777 thumbs/
|
|
root@703c9472fed5:/opt/w0bm/public# chmod -R 777 b
|
|
```
|
|
|
|
inside the container, it applied to the mount |