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
- Host: GitHub
- URL: https://github.com/fachschaftmathphysinfo/moozean
- Owner: FachschaftMathPhysInfo
- Created: 2017-05-22T17:30:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-07-25T13:15:01.000Z (11 months ago)
- Last Synced: 2025-07-25T20:14:25.912Z (11 months ago)
- Topics: database, docker, ember, inbox, rails, ruby
- Language: JavaScript
- Homepage:
- Size: 10.5 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Moozean
[](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
```