Skip to content

BobGu/JavaServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaServer

##To Build ./gradlew build

##Run unit tests ./gradlew test

Running the server

This JavaServer allows you to load files from a directory and then serves those files. To start the server type in this from the root of the project. java -jar build/libs/JavaServer.jar

To choose a directory to serve files from use this flag at the end of the command to start the server -d location-of-directory

The directory can be a relative path to where you run the command or an absolute path like /Users/username/somedirectory

Also when you start the server you can specify a port number for the server to use by using this flag -p port-number

##Cob Spec This project uses the acceptance criteria that is part of cob_spec. This link has insturctions how to run the acceptance tests.

About

Build a Java......server!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published