Quickly search the Shut Up And Sit Down archives
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
public
server
.dockerignore
.gitignore
.travis.yml
Dockerfile
config.js
install-up.sh
nodemon.json
package-lock.json
package.json
readme.md
server.js
up.json

readme.md

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.

Docker

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.

Image server

The automatically-resized-images server code is at susd-image-mirror.

If you want to point to a locally-running image server, set imageServer in config.js to something like //localhost:8889/.