-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from mateussouzaweb/release-1.10.2
Release 1.10.2
- Loading branch information
Showing
6 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,13 @@ LABEL org.opencontainers.image.source https://github.com/mateussouzaweb/crunchyr | |
LABEL maintainer="Mateus Souza <[email protected]>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install dependencies | ||
# Install system packages | ||
RUN apt update && apt install -y make sed curl | ||
RUN mkdir -p /usr/local/bin | ||
RUN curl https://mateussouzaweb.github.io/compactor/install.sh | bash | ||
RUN npm install -g rollup | ||
RUN npm install -g npm | ||
|
||
# Install compactor | ||
RUN mkdir -p /usr/local/bin && \ | ||
curl https://mateussouzaweb.github.io/compactor/install.sh | bash - | ||
|
||
# Create app directory | ||
WORKDIR /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ git clone [email protected]:mateussouzaweb/crunchyroll-webos.git | |
cd crunchyroll-webos/ | ||
|
||
# Build the container from Dockerfile | ||
docker build -t crunchyroll-webos:latest . | ||
docker build --no-cache -t crunchyroll-webos:latest . | ||
|
||
# Run the container with user environment | ||
docker run -it --rm \ | ||
|
@@ -92,11 +92,14 @@ Please note that the developer mode is enabled only for a few hours, so you will | |
You can also test this project in the browser, but it requires a few necessary steps. First, you need to start the browser without CORS. You also will need to access the project from the ``index.html`` file located on the ``dist/`` folder using the ``file://`` protocol, otherwise, Crunchyroll API response and video playback will be blocked by the security rules of the navigator: | ||
|
||
```bash | ||
# Step 1 - Start the browser without CORS | ||
flatpak run com.google.Chrome --user-data-dir="/tmp/chrome_dev_test" --disable-web-security | ||
|
||
# Step 2 - Access the project from the dist/ folder | ||
# Open in the browser the address in the format: | ||
# file://{PATH_TO_DIST_FOLDER}/index.html | ||
# Give flatpak permissions | ||
flatpak override com.google.Chrome --filesystem=host | ||
|
||
# Start the browser without CORS and access the project from the dist/ folder | ||
flatpak run com.google.Chrome \ | ||
--user-data-dir="/tmp/chrome-dev-test" \ | ||
--disable-web-security \ | ||
--no-first-run \ | ||
file://$PWD/dist/index.html | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters