Hello!
I've been looking for a collaborative online pad with rich text and images and I found it in Firepad, thanks for this very interesting piece of software.
I am trying to set up a firepad on my own web hosting, and I think I accomplished that except that I do not undersrtand how to get unique URL's to share the pad with others. The steps I followed were:
- Create a folder in my web hosting space
- Download Firepad from Github
- Copy the following files to my web hosting folder:
userlist.html
firepad-userlist.css
firepad-userlist.js
- Rename the userlist html to 'index.html'
- Visit the folder with the browser: it generates a unique URL that allows me to share the pad and collaborate, great!
- BUT since it is using the demo firebase after a while the contents are deleted
So:
- I sign up for my own firebase account and create a project
- In my index html (previously userlist example) provide my firebase project url in this manner:
//// Initialize Firebase.
&&
// Helper to get hash from end of URL or generate a random one.
function getExampleRef() {
- Visit again the folder with the browser: it seems to be working except:
1- no unique URL is generated, and so sharing the URL does not allow for collaboration (it just generates a new pad every time someone visits it... forever alone in the userlist)
2- I receive the following console errors (referencing to firebase.js:36)
firebase.js:36 FIREBASE WARNING: set at /users/5499139141/cursor failed: permission_denied
firebase.js:36 FIREBASE WARNING: set at /users/5499139141/color failed: permission_denied
firebase.js:36 FIREBASE WARNING: set at /users/5499139141/cursor failed: permission_denied
firebase.js:36 FIREBASE WARNING: set at /users/5499139141/color failed: permission_denied
firebase.js:36 FIREBASE WARNING: set at /users/5499139141/name failed: permission_denied
firebase.js:36 FIREBASE WARNING: set at /users/5499139141/cursor failed: permission_denied
The results I expected would be to get a unique URL as when using the demo firebase, so I can share the pad and collaborate.
What am I doing wrong?
Thank you very much for your help.