Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.75 KB

README.md

File metadata and controls

57 lines (41 loc) · 1.75 KB

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 [email protected]: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: '[email protected]')
admin.confirm
  1. Login with the following credentials: Email: [email protected] Password: changemeplease!