An open API service indexing awesome lists of open source software.

https://github.com/fachschaftmathphysinfo/moozean

Fachschaftssoftware zur Verwaltung von Altklausuren und deren Ausleihe
https://github.com/fachschaftmathphysinfo/moozean

database docker ember inbox rails ruby

Last synced: 11 months ago
JSON representation

Fachschaftssoftware zur Verwaltung von Altklausuren und deren Ausleihe

Awesome Lists containing this project

README

          

# Moozean

[![Build and Deploy Status](https://github.com/FachschaftMathPhysInfo/moozean/actions/workflows/build_and_deploy.yml/badge.svg)](https://github.com/FachschaftMathPhysInfo/moozean/actions/workflows/build_and_deploy.yml)

# Requirements

## Ruby version
The recommended software versions are
- rails `>=5.1`
- ruby `>=2.3`
- node `>=7`

## System dependencies
You should have the following packages installed (see Dockerfile)
- `build-essential`
- `nodejs`
- `npm`
- `libpq-dev`
- `wget`
- `git`
- `cron`

You should provide a redis instance and an SMTP server.

We strongly recommend using the Docker--approach:

# Installation
## Non-Docker (Development environment)

1. Install all needed packages (see above)
1a. Update node to version 8: `sudo npm install -g n && sudo n 8`
1b. Install ember: `sudo npm install -g ember bower`
2. Clone this repository
3. set the needed environment variables(use `source development.sh` for a quickstart)
4. Create the needed database: `rake db:create db:migrate`
5. Precompile the assets: `rake assets:precompile`
6. Start the engines: `rails s`

## Docker
1. Set variables in `docker-compose.yml`
2. Build and start the docker container:
```bash
docker compose up --build -d
```
3. Next we need to seed the database with some test data:
```bash
docker compose exec web bundle exec rails db:seed
docker compose exec web bundle exec rails db:migrate
```