KDE Activities Support for Firefox (Part 1 of 4)
Part 1: Firefox Accounts local server
Part 2: Firefox Sync-1.5 Server
Part 3: firefoxkde script setup
Part 4: Sync of bookmarks on different profiles
Firefox Accounts local server
Requisites
Nodejs > 4.5.0 (As per Fxa Auth Server requisites)
Nodejs from Jessie is 0.10.29. We need to install it from source. However we will use an special deb repository for that
curl -sL https://deb.nodesource.com/setup_7.x |\
sudo -E bash -
sudo apt-get install nodejs
Git
sudo apt-get update
sudo apt-get install git
Fxa Auth Server
Fetching Fxa Auth Server
This is one of the two components needed. It’s an auth server.
mkdir fxa-auth-server
cd fxa-auth-server
git clone https://github.com/mozilla/fxa-auth-server/
Fxa Auth Server Requisites
Node >= 4.5.0
We already have it.
Npm
Nodejs 7.x already provides it.
Grunt
# As a new fxaauth user
npm install grunt
Fxa Auth Server Installation
# As the new fxaauth user
cd fxa-auth-server
npm install
Testing Fxa Auth Server
# As the new fxaauth user
cd fxa-auth-server
npm start
Example of server starting ok:
fxa-auth-server.INFO: server.start.1 {"op":"server.start.1","msg":"running on http://127.0.0.1:9000"}
Additional Links