Skip to content

Commit

Permalink
Updated version number
Browse files Browse the repository at this point in the history
  • Loading branch information
graham-walker committed Dec 17, 2020
1 parent 701aad0 commit f08347e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,12 @@
8. (Optional) In order to run the web app automatically after startup or after a system reboot you must configure PM2. See these resources for help configuring PM2 on [Linux/MacOS](https://pm2.keymetrics.io/docs/usage/startup/#saving-current-processes) and [Windows](https://stackoverflow.com/questions/42758985/windows-auto-start-pm2-and-node-apps)

## Running in Docker
As of release 1.1.0 youtube-dl-react-viewer supports Docker containers.

1. Clone the youtube-dl-react-viewer repository `git clone https://github.com/graham-walker/youtube-dl-react-viewer`

2. Set the working directory to `./youtube-dl-react-viewer`

3. To select the version of the release you want to install run `git checkout tags/v1.1.1`
3. To select the version of the release you want to install run `git checkout tags/v1.2.1`

4. Specify the Docker container's environment variables by editing the `environment:` option inside of `docker-compose.yaml`
- The web app will not start if the values for the environment variables `SUPERUSER_PASSWORD` and `JWT_TOKEN_SECRET` are their default values. A full list of supported variables is shown in the [section below](#configuring-environment-variables)
Expand All @@ -90,6 +89,8 @@ As of release 1.1.0 youtube-dl-react-viewer supports Docker containers.

7. Access the web app by navigating to `http://localhost:5000` in your browser

*Releases before 1.1.0 do not support Docker containers.*

## Configuring Environment Variables

The web app's server requires the configuring of several environment variables before you run it for the first time. This can be done either by adding the following environment variables to your system or editing the `.env` file located in the `./youtube-dl-express-backend` folder of the release (you might need to enable view hidden files and folders in your operating system to be able to see this file).
Expand Down
2 changes: 1 addition & 1 deletion youtube-dl-express-backend/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let debug;
debug = parsed.env.VERBOSE;

program.name('youtube-dl-exec-script')
.version('1.2.0') // Version is hardcoded here because on non-Windows systems this script has to be called by node instead of npm
.version('1.2.1') // Version is hardcoded here because on non-Windows systems this script has to be called by node instead of npm
.requiredOption('-v, --video <path>', 'Downloaded video file location')
.requiredOption('-j, --job-id <string>', 'Job document id')
.option(
Expand Down
2 changes: 1 addition & 1 deletion youtube-dl-express-backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion youtube-dl-express-backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "youtube-dl-express-backend",
"version": "1.2.0",
"version": "1.2.1",
"description": "Web app for downloading and viewing videos using youtube-dl made with the MERN stack",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion youtube-dl-react-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion youtube-dl-react-frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "youtube-dl-react-frontend",
"version": "1.2.0",
"version": "1.2.1",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.30",
Expand Down
2 changes: 1 addition & 1 deletion youtube-dl-react-frontend/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ document.title = window.documentTitle;
window.gitHubLink = 'https://github.com/graham-walker/youtube-dl-react-viewer';
window.githubApiLink = 'https://api.github.com/repos/graham-walker/youtube-dl-react-viewer/releases/latest';
window.gitHubLatestReleaseLink = 'https://github.com/graham-walker/youtube-dl-react-viewer/releases/latest';
window.scriptVersion = '1.2.0';
window.scriptVersion = '1.2.1';

ReactDOM.render(
<React.StrictMode>
Expand Down

0 comments on commit f08347e

Please sign in to comment.