Mini Search Engine - Advanced Programming Techniques Course Project - Cairo Uni.
Name | Section | B. N |
---|---|---|
Evram Youssef | 1 | 9 |
Remonda Talaat | 1 | 20 |
Mahmoud Adas | 2 | 21 |
Mohamed Shawky | 2 | 16 |
Versions listed here are the versions we worked with. Sometimes, it's possible to use lower versions (except jdk, it must be 9+), but we don't gurantee this. In case of running/compiling issues, try to match those versions.
Binary | Version |
---|---|
maven | 3.6.0 |
java | 11.0.3 |
javac | 11.0.3 |
nodejs | 8.11.4 |
yarn | 1.21.1 |
$ mvn clean compile
$ yarn install
$ yarn build
To run dev server of the frontend at port 8081, run:
$ yarn start
$ mvn
Default port server.port
is set in src/main/resources/application.properties
.
To choose the port, run:
$ mvn -Dspring-boot.run.arguments="--server.port=<PORT>"
$ npx webpack --env.BASE_PATH=localhost:<PORT>
where
<PORT>
is the port to bind to.
To run server as mock (results are fixed and are not real) for frontend experimenting, run:
$ env MOCK=1 mvn
$ env PAM=1 mvn
$ mvn test