newtfire / staticSearch

A codebase to support a pure JSON search engine requiring no backend for any XHTML5 document collection
https://endings.uvic.ca/staticSearch/docs/index.html
Mozilla Public License 2.0
0 stars 4 forks source link

Installing and configuring staticSearch #2

Open ebeshero opened 2 years ago

ebeshero commented 2 years ago

All operating systems

Whether you are running Mac or Windows, we need the following:

Windows

Java

Ant

Test that you have Java and Ant

Java path

Ant version

Environment variables

When you test the build on Windows, this configuration will fail due to mixing the way Windows reads file paths with \and the way the processing system needs to read them with /. A solution to this problem is to configure a Linux subsystem on your Windows machine to run this build process. Instructions are posted in #3 .

Mac

Installing Java is easier for you!

Java path

Ant version

Apache Ant:

Java

Test the staticSearch configuration

Test the configuration for staticSearch 7.7: Running the search build process

kzp308 commented 2 years ago

I was able to get most of the apps/docs downloaded. However, I got stuck at Apache Ant. I'm not sure where to download it from or where to download it to. I'm quite confused but I assume we can talk about it in class.

natalyamyers commented 2 years ago

I also got stuck on downloading things, I'm glad I'm not the only one! I just felt like the instructions on downloading and installing apps, even on their own pages, were so limited. I also use a .zip file application that bundles things differently (I use it for a game that utilizes mods) so that added another layer of difficulty.

arrowarchive commented 2 years ago

I am unsure if the second link for Java supports Windows 10 or Mac specifically. Should there be a link specifically for Java on Windows 10 and below?

Something that also may be good to note is that the zip files should be kept after they are extracted. Otherwise, running ant without them may cause an error on Git Bash.

tec5271 commented 2 years ago

Still struggling to download apache ant but am going to try fiddling with it over the next day or so.