The HTTP server in the 8th Light apprenticeship.
- Clone this repository using
git clone --recurse-submodules git@github.com:fi-ya/http-server.git - Run
gradle build
cdinto the root folder 'http-server' then run./gradlew run
- Java
asdfor a similar version manager: https://asdf-vm.com/
- Gradle
- JUnit
- Start the HTTP Server by running
./gradlew run cdinto thetest/http_server_specfolder- Run
bundle installto install the dependencies for the testing submodule - Run
rake test
You can also run the tests from a specific section of the features:
rake test:f1 # Run all of the tests in 01_getting_started
rake test:f2 # Run all of the tests in 02_structured_data
rake test:f3 # Run all of the tests in 03_file_server
rake test:f4 # Run all of the tests in 04_todo_list