...
Import schools, run these commands to get your local docker environment ready:
Code Block language
...
bash x/docker-dev/npm.sh ci
...
x/docker-dev/up.sh
...
x/docker-dev/console.sh
...
# you will be prompted to select a container here
...
# press 1<ENTER> to use the web container
...
...
# this will open a console inside the web container
...
# run this command now:
...
...
node --http-parser=legacy x/db/import-schools.js exit
...
#
...
you
...
should
...
now be back
...
in your
...
original terminal
...
#
...
the
...
rest
...
of
...
the
...
steps
...
can
...
be
...
completed
...
from
...
your browser
Open
...
browser
...
and
...
go
...
to
...
local
...
Voluntarily
...
app
...
(http://localhost:3122)
...
Login
...
with
...
an
...
admin
...
account
Go to http://localhost:3122/admin/goals
Click the “Load Goals” button
Go to http://localhost:3122/admin/invite-school
...
Fill
...
out
...
the
...
invite
...
form
...
Logout
...
of
...
Voluntarily
...
with
...
your
...
admin
...
account
...
Open
...
mailhog
...
(http://localhost:8025)
...
You
...
should
...
see
...
an
...
email
...
with
...
the
...
subject
...
"[DEVELOPMENT]
...
Your
...
school
...
has
...
been
...
invited
...
to
...
Voluntarily"
...
Click
...
the
...
button
...
"Sign
...
up
...
and
...
activate
...
your
...
school"
...
in
...
the
...
email
...
This
...
should
...
take
...
you
...
to
...
the
...
Auth0
...
login/sign
...
up
...
screen
...
Either
...
login
...
with
...
an
...
existing
...
account
...
or
...
sign
...
up
...
Once
...
logged
...
in the following should have happened:
you should be redirected to your Voluntarily dashboard
school related goal cards should be displayed displayed
there should have been a new organisation created (based on the school you selected on the invite school form)
your currently logged in account should be an org admin of that organisation
on your profile you should have the “requestor” role
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...