-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix env variables and
npm run build
commands in several places (#1139)
I forgot to update them everywhere when I changed this.
- Loading branch information
Showing
6 changed files
with
22 additions
and
23 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
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 |
---|---|---|
|
@@ -118,7 +118,7 @@ To build Studio yourself, execute these commands: | |
% git clone [email protected]:elan-ev/opencast-studio.git | ||
% cd opencast-studio | ||
% npm install | ||
% npm run build | ||
% npm run build:release # or npm run build:dev for development | ||
``` | ||
|
||
This will generate static content you can serve via any web server in `build/`. | ||
|
@@ -128,7 +128,7 @@ If you prefer to run a local development server directly, you can use this | |
instead: | ||
|
||
```sh | ||
% npm run start | ||
% npm start | ||
``` | ||
|
||
### Additional Build Options | ||
|
@@ -139,11 +139,11 @@ can apply these options by exporting them as environment variable before startin | |
|
||
```sh | ||
export OPTION=VALUE | ||
npm run build | ||
npm run build:release | ||
``` | ||
|
||
| Option | Example | Description | ||
| --------------------------------- | ------------------ | ----------- | ||
| `PUBLIC_URL` | `/studio` | Path from which Studio will be served | ||
| `REACT_APP_SETTINGS_PATH` | `/mysettings.toml` | Path from which to load the configuration (see `CONFIGURATION.md` for more information) | ||
| `REACT_APP_INCLUDE_LEGAL_NOTICES` | `1` | Set to `1` to include legal notices and information about ELAN e.V., any other value or having this variable not set will not include them. Unless you are working for ELAN e.V. there is probably no reason for you to use this variable. | ||
| Option | Example | Description | ||
| ----------------------- | ------------------ | ----------- | ||
| `PUBLIC_URL` | `/studio` | Path from which Studio will be served | ||
| `SETTINGS_PATH` | `/mysettings.toml` | Path from which to load the configuration (see `CONFIGURATION.md` for more information) | ||
| `INCLUDE_LEGAL_NOTICES` | `1` | Set to `1` to include legal notices and information about ELAN e.V., any other value or having this variable not set will not include them. Unless you are working for ELAN e.V. there is probably no reason for you to use this variable. |
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