Skip to content
Snippets Groups Projects

Fix typo in deployment path and some clarifications

1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -4,7 +4,7 @@ A platform for recruiting, scheduling and managing Teaching Assistents.
# Requirements
To run the platform, the following applications are needed:
* Gradle
* Java 10
* Java 8
* NodeJS
# Installing
@@ -18,7 +18,7 @@ Open the `frontend` folder in the commandline. Run ```npm install``` to install
Install new packages by running ```npm install <package> -D```. This will add the package as a dependency to `package.json`.
You may encounter problems with line endings when building the frontend. In this case, run the following commands:
You may encounter problems with line endings when building the frontend. In this case, run the following commands (to just use LF line endings):
```
$ git config --global core.eol lf
$ git rm -rf --cached .
@@ -50,4 +50,4 @@ GRANT SELECT, INSERT, DELETE, UPDATE ON tam_database.* TO 'tam_manager'@'localho
```
## Deployment
On the server, use ```./gradlew build``` to build the jar. Run the jar with ```java -Dspring.profiles.active=prod -jar build/lis/tam-0.0.1-SNAPSHOT.jar --server.port=8000```
On the server, use ```./gradlew build``` in the root of the project to build the jar, which will also build the frontend. Run the jar with ```java -Dspring.profiles.active=prod -jar build/libs/tam-0.0.1-SNAPSHOT.jar --server.port=8000```
Loading