To run/develop locally
Node 7.6.0+ required.
git clone https://github.com/TehShrike/susd-search-site.git cd susd-search-site npm install npm run build npm run startdev
The server should be running at localhost:8888.
That's all you should need to do to run it locally. If that doesn't work for you, open an issue to let me know.
To develop the client side app, run
npm run watch in another terminal window to have a process automatically watch for changes and rebuild the client app when necessary.
Alternatively, you can build and run the app using Docker:
docker build -t susd-search . docker run -p 8888:8888 susd-search
which also makes the server run at localhost:8888.
The automatically-resized-images server code is at susd-image-mirror.
If you want to point to a locally-running image server, set
config.js to something like