# OCWorkflow Some workflow related items i thought would be helpful for programming with OpenComputers on a Server ## Setup ### The Projfile The syntax here was inspired by `make` (a la autoconf). Simply running `ocbuild` with a Projfile in your directory will go. As of now, the profile is simple, and looks like so: `IP_OF_PROJECT_HTTP_SERVER,NAME_OF_PROJECT` For example, if I have my project on an http server at 192.168.0.44, and the directory specs are in myproj.proj, it would look like so: `192.168.0.44,myproj` ### Steps - (Optional) make a project file called "Projfile" in your working directory. The format of the Projfile is specified above. - Set up an http server whever you want to pull your files from. The server portion is directory-agnostic - the specified HTTP server can be a subdirectory of that server, instead of just the root IP. - Make sure your project directory has a .proj project store. It simply lists the files to pull, seperated by newlines. These can be subdirectories as well. - See Usage below. ## Usage Just run it! If you don't want to use a project file, it will accept a server to pull from and a project file to read as arguments 1 and 2, like so: `ocbuild IP_OF_PROJECT_HTTP_SERVER PROJNAME`