Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.
/ lukkarimaatti Public archive

Lukkarimaatti timetable tool for LUT students [Deprecated]

License

Notifications You must be signed in to change notification settings

Laastine/lukkarimaatti

Repository files navigation

Lukkarimaatti++

This project is not maintained anymore and production server has been shut down

Build Status

Hobby project which offers course data in easy to use scheduling tool.
Information is retrieved from [the official LUT teaching schedule info site] (https://uni.lut.fi/fi/web/guest/lukujarjestykset1).

Compatible with newest Firefox and Chrome

History 2012-2018

Originally (late 2012) started as Java+Spring boilerplate + Backbone/jQuery project.
Later converted to pure JavaScript project with Node.js server.
Currently it's implemented with universal JavaScript (Node/React/Bacon) using "megablob" architecture.

Requirements

Node.js 8 LTS

Local setup DB on unix based OS

  • Install PostgreSQL via homebrew brew install postgresql on Mac OS

Start initialize PostgreSQL database: npm run init-db Start and stop PostgreSQL after initialization npm run start-db and npm run stop-db

Set up config variables:

echo -e export DATABASE_URL=postgresql://localhost:5432/postgres >> .env
echo -e export APP_SECRET=my-very-hard-app-secret >> .env
echo -e export UNI_URL=https://uni.lut.fi/fi/web/guest/lukujarjestykset1 >> .env
source .env

Build application:

npm install
npm run build

Tests

npm test