updated readme to reflect changes in application

parent 08037c23
......@@ -31,22 +31,6 @@ Then issue the following command (still in the project root)
> gulp serve
Use curl to get a token:
> curl -X POST -vu html5-archivingportal:123456 http://localhost:8080/oauth/token -H "Accept: application/json" -d "password=password&username=admin&grant_type=password&scope=write&client_secret=123456&client_id=html5-archivingportal"
{
"access_token" : "36028ad3-9237-450a-8d4f-7e394408211b",
"token_type" : "bearer",
"refresh_token" : "e928973d-a77a-4a12-9c38-779056719222",
"expires_in" : 43199,
"scope" : "write"
* Connection #0 to host localhost left intact
}
For now we have to cheat some. "access_token" can be copy pasted into archivingPortalClient.js.
Replace ACCESS_TOKEN.
> Line 42: headersGetter()['Authorization'] = "Bearer ACCESS_TOKEN";
Packing the application
-----------------------
To package the application for release, simply (again in the project root), issue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment