Skip to content

Hitobito development server for CAuDri e.V.

License

Notifications You must be signed in to change notification settings

CAuDri/hitobito-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAuDri e.V. - Hitobito Development Server

This repository is a fork of hitobito/developement. For general setup instructions, refer to the README.md of the original repository.

General

We are using Hitobito internally for our member management. Since we are a rather small organization and rarely need to access the the server, we decided to only host the Hitobito development server locally.
Our member database is stored in our Cloud Storage and is accessible by our board members.

Setup

Prerequisites

Make sure Docker and Docker Compose are installed on your machine.

Setup Instructions

  1. Clone this repository and checkout the caudri branch
git clone git@github.com:CAuDri/hitobito-dev.git && git checkout caudri
  1. Initialize the Hitobito and CAuDri submodules
git submodule update --init
  1. Add Docker Volumes
docker volume create hitobito_yarn_cache
docker volume create hitobito_bundle
  1. Start the development server
docker-compose up
  1. Wait for the server to start (this might take a couple of minutes). You can access the server via http://localhost:3000/.

Login

(Following initial database setup)

  1. Open the rails console in the running rails container
docker exec -it hitobito-dev-rails-1 bundle exec rails console
  1. Confirm the account creation of the admin user
admin = Person.find_by(email: 'admin@caudri-challenge.de')
admin.confirm
  1. Login with the following credentials: Email: admin@caudri-challenge.de Password: changemeplease!

About

Hitobito development server for CAuDri e.V.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 58.3%
  • Ruby 32.2%
  • Dockerfile 9.5%