Project

General

Profile

Support #718

Updated by Daniel Curtis over 8 years ago

This is a guide on how I installed the Firefox Auth and Content components to form the Firefox Accounts Server on FreeBSD. 

 h2. Prepare the Environment 

 * Make sure the system is up to date: 
 <pre> 
 pkg update && pkg upgrade -y 
 </pre> 

 * Install a few dependencies: 
 <pre> 
 pkg install git node npm 
 </pre> 

 * Add the Sync Server user 
 <pre> 
 pw add user -n ff-accounts -m -s /bin/sh -c "Firefox Accounts" 
 </pre>  

 h2. Install Auth Server 

 * Switch to the Firfox accounts user: 
 <pre> 
 su - ff-accounts 
 </pre> 

 * Download the auth server from GitHub: 
 <pre> 
 git clone https://github.com/mozilla/fxa-auth-server/ 
 </pre> 

 * Install the auth server: 
 <pre> 
 cd fxa-auth-server 
 npm install 
 </pre> 

 h2. Install Content Server 

 * Download the local development scripts from GitHub: 
 <pre> 
 git clone https://github.com/mozilla/fxa-local-dev 
 </pre> 

 * Install the local development scripts: 
 <pre> 
 cd fxa-local-dev 
 npm install 
 </pre> 

 * Download the content server from GitHub: 
 <pre> 
 cd .. 
 git clone https://github.com/mozilla/fxa-content-server/ 
 </pre> 

 h2. Resources 

 * https://docs.services.mozilla.com/howtos/run-fxa.html

Back