This is a web site which helps your store your new words(vocabulary) and remember these words more efficiently and easily. It will adopt some learning techinques as Spaced_repetition.
The demo of this site is already deployed in http://youaccomplish.com/ell/
##Installation
- Clone this repo into your computer, namely
words/
git clone https://github.com/wangzhihao/words.git
cd words
- Install mongodb and strongloop
On Mac: brew install mongodb On Unbuntu: https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-ubuntu/
npm install -g strongloop
- The backend database is mongodb. create a database directory inside
words/
, the directory name should bedatabase/
. Also add alogs/
directory
mkdir -p database/db
mkdir logs
- Install node dependent packages
npm install
- Start the database and web server via shell script, you can shut down the site via
shutdown.sh
cd words
- Run the database scripts(Mainly to create some indexes. ) Execute the following script:
$bash: mongo
> use words
> load('databaseScripts/mongoScript.js');
- Run the app.
run.sh
- visit the site via 0.0.0.0/3010 (You can check the listening URL in logs file.)