ocular

forum search for scratch

35
26
Vue

🔍 ocular

ocular is the search tool for the scratch forums.

it’s up at ocular.jeffalo.net

behind the scenes

how to run

you will need your own my-ocular server if you don’t want to use production data, otherwise you can use the production my-ocular server by setting the BACKEND_URL env variable to https://my-ocular.jeffalo.net. keep in mind you will get cors errors unless you run the nuxt server on localhost port 8000 or 8001. you can change the nuxt server port via the PORT env variable.

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate