This repository is a fork of hitobito/developement. For general setup instructions, refer to the README.md of the original repository.
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.
Make sure Docker and Docker Compose are installed on your machine.
- Clone this repository and checkout the
caudri
branch
git clone git@github.com:CAuDri/hitobito-dev.git && git checkout caudri
- Initialize the Hitobito and CAuDri submodules
git submodule update --init
- Add Docker Volumes
docker volume create hitobito_yarn_cache
docker volume create hitobito_bundle
- Start the development server
docker-compose up
- Wait for the server to start (this might take a couple of minutes). You can access the server via http://localhost:3000/.
(Following initial database setup)
- Open the rails console in the running rails container
docker exec -it hitobito-dev-rails-1 bundle exec rails console
- Confirm the account creation of the admin user
admin = Person.find_by(email: 'admin@caudri-challenge.de')
admin.confirm
- Login with the following credentials: Email: admin@caudri-challenge.de Password: changemeplease!