Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Import schools, run these commands to get your local docker environment ready:

    Code Block
    language

...

  1. bash
    x/docker-dev/npm.sh ci

...

  1. 
    x/docker-dev/up.sh

...

  1. 
    x/docker-dev/console.sh

...

  1. 
    
    # you will be prompted to select a container here

...

  1. 
    # press 1<ENTER> to use the web container

...

  1. 
    

...

  1. # this will open a console inside the web container

...

  1. 
    # run this command now:

...

  1. 
    
    

...

  1. node --http-parser=legacy x/db/import-schools.js
    exit
    

...

  1. 
    # 

...

  1. you 

...

  1. should 

...

  1. now be back 

...

  1. in your 

...

  1. original terminal
    

...

  1. # 

...

  1. the 

...

  1. rest 

...

  1. of 

...

  1. the 

...

  1. steps 

...

  1. can 

...

  1. be 

...

  1. completed 

...

  1. from 

...

  1. your browser
  2. Open

...

  1. browser

...

  1. and

...

  1. go

...

  1. to

...

  1. local

...

  1. Voluntarily

...

  1. app

...

  1. (http://localhost:3122)

...

  1. Login

...

  1. with

...

  1. an

...

  1. admin

...

  1. account

  2. Go to http://localhost:3122/admin/goals

  3. Click the “Load Goals” button

  4. Go to http://localhost:3122/admin/invite-school

...

  1. Fill

...

  1. out

...

  1. the

...

  1. invite

...

  1. form

...

  1. Logout

...

  1. of

...

  1. Voluntarily

...

  1. with

...

  1. your

...

  1. admin

...

  1. account

...

  1. Open

...

  1. mailhog

...

  1. (http://localhost:8025)

...

  1. You

...

  1. should

...

  1. see

...

  1. an

...

  1. email

...

  1. with

...

  1. the

...

  1. subject

...

  1. "[DEVELOPMENT]

...

  1. Your

...

  1. school

...

  1. has

...

  1. been

...

  1. invited

...

  1. to

...

  1. Voluntarily"

...

  1. Click

...

  1. the

...

  1. button

...

  1. "Sign

...

  1. up

...

  1. and

...

  1. activate

...

  1. your

...

  1. school"

...

  1. in

...

  1. the

...

  1. email

...

  1. This

...

  1. should

...

  1. take

...

  1. you

...

  1. to

...

  1. the

...

  1. Auth0

...

  1. login/sign

...

  1. up

...

  1. screen

...

  1. Either

...

  1. login

...

  1. with

...

  1. an

...

  1. existing

...

  1. account

...

  1. or

...

  1. sign

...

  1. up

...

  1. Once

...

  1. logged

...

  1. in the following should have happened:

    1. you should be redirected to your Voluntarily dashboard

    2. school related goal cards should be displayed displayed

    3. there should have been a new organisation created (based on the school you selected on the invite school form)

    4. your currently logged in account should be an org admin of that organisation

    5. on your profile you should have the “requestor” role

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@aba
showSpacefalse
sortmodified
typepage
reversetrue
labelsschools invite database sysadmin
cqllabel in ( "schools" , "sysadmin" , "database" , "invite" ) and type = "page" and space = "VP"

...