Speller Server
Two speller server instances run on the  divvun.no server, 
A web editor with the saami spellers is found at  http://divvun.no:3000, 
A web editor with the non-saami spellers is found at  http://divvun.no:3001, 
The speller servers runs on the  divvun.no server. The saami 
The code for the server is found at 
Log in, attach to screen, exit screen
- Log in to the account. 
- Attach to the  screen instance: screen -RD 
- Use nvm: nvm use stable 
- Do whatever work is needed. 
- When done, exit screen by pressing Ctrl-a, Shift-d, Shift-d
How ck-ospell was installed
- 
git clone https://github.com/divvun/ck-ospell.git 
- 
cd ck-ospell 
- 
git submodule init 
- 
git submodule update 
- Alternatively, change port from 3000 to something else in server.js 
- CXX=clang++-mp-3.4 npm install
Run server
npm start
How to update a speller
- Log in to the account, attach to  screen by screen -RD 
- Go to the screen where the server is not running  ctrl a SPACE 
- check the age of the relevant language 
- copy from your local machine a newer speller: 
 - check it got the new date 
- go the screen where the server is running  ctrl a SPACE 
- Stop the server  ctrl c 
- Start the server with  npm start 
- exit ctrl a SHIFT D shift D
How to install a new language
- Log in to the account, attach to  screen 
- 
Ctrl-c (stop the speller server) 
- Copy a .zhfst file to the etc directory, e.g.  curl -o etc/<newlanguage>.zhfst http://divvun.no/static_files/zhfsts/<newlanguage>.zhfst
- npm start
Update ck-ospell
- Log in to the account, attach to  screen 
- 
Ctrl-c (stop the speller server) 
- 
git pull 
- 
npm install 
- npm start
Depending on particular branches/commits
ck-ospells dependencies are specified in package.json. More info can be found in 
Depending on a particular commit
    "hfst-ospell-js": "git://github.com/divvun/hfst-ospell-js#c311421b3c9a79bcb5decd482b131dd5883564fb",
Depending on a particular branch
    "hfst-ospell-js": "git://github.com/divvun/hfst-ospell-js#alphabet-hack",

