-
Notifications
You must be signed in to change notification settings - Fork 0
Home
check https://github.com/tpximpact/bops and make sure main is in sync with bops repo
Update code and applicants submodule
git pull
git submodule updateOur setup notes for using BOP's
- BOPS: https://github.com/unboxed/bops
- ODP schema repo: https://github.com/theopensystemslab/digital-planning-data-schemas
git clone git@github.com:unboxed/bops.gitcd bops-applicants
git submodule update --init --recursive
cd ..docker compose build
docker compose up -dhttp://southwark.bops.localhost:3000/
http://config.bops.localhost:3000/users/sign_in
make console
PasswordGenerator.call
User.create(name: 'Al Powerful', local_authority: nil, otp_required_for_login: false role: "global_administrator", email: 'global_administrator@example.com', confirmed_at: Time.zone.now, password: '')http://config.bops.localhost:3000/application_types#active
http://southwark.bops.localhost:3000/api/docs/index.html?urls.primaryName=API%20V2%20Docs
make console
ApiUser.all
apiUser = ApiUser.find(2)
apiUser.tokenRun post on one of the examples on http://southwark.bops.localhost:3000/api/docs/index.html?urls.primaryName=API%20V2%20Docs
make console
LocalAuthority.allYou can also set the maps key via .env file - its in 1password
email_reply_to_id (use SecureRandom.uuid)
reviewer_group_email
notify_api_keyYou'll need to create legislation via the global console to create applications
make console
PasswordGenerator.call
User.all
user = User.find(5)
user.update(password: '', otp_required_for_login: false, confirmed_at: Time.zone.now)- better document changing the passwords for the southwark users which is the last section of the documentation here
- Legislation in the seed data
add RUN chmod -x /docker-entrypoint-initdb.d/10_postgis.sh
after COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/10_postgis.sh in docker/postgis/Dockerfile