rabblerouser / core

Pluggable, extensible membership database for community organising
GNU Affero General Public License v3.0
17 stars 10 forks source link

Initial developer environment doesn't allow member registration #181

Closed bfinney-thoughtworks closed 6 years ago

bfinney-thoughtworks commented 6 years ago

Expected behaviour:

After setting up a development environment as per the instructions, I should be able to visit the front-end page and register as a new user.

Actual behaviour:

The server log message is emitted from ‘backend/src/controllers/membersController.js’ when the request body attribute ‘branchId’ is not found in the data store.

bfinney-thoughtworks commented 6 years ago

I suspect there is some additional set-up required – e.g. populating a database, or configuring the front-end so that it supplies the correct branchId – that is not yet documented correctly.

bfinney-thoughtworks commented 6 years ago

I suspect there is some additional set-up required – e.g. populating a database, or configuring the front-end so that it supplies the correct branchId – that is not yet documented correctly.

My mistake. This is done by yarn seed which is documented; I had accidentally reset my environment but had not seeded the environment again.