diff --git a/README.md b/README.md index 6fe512a1..41da66f1 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ spee.ch is a single-serving site that reads and publishes images to and from the * clone this repo * customize `config/develpment.json` by replacing the value of `Database.DownloadDirectory` with a string representing the local path where you want uploaded files to be stored. * run `npm install` -* to start the server, from your command line run `node server.js` while passing three environmental variables: your lbry wallet address (`LBRY_CLAIM_ADDRESS`), your mysql connection uri (`MYSQL_CONNECTION_STRING`), and the environment to run (`NODE_ENV`). - * i.e. `LBRY_CLAIM_ADDRESS= MYSQL_CONNECTION_STRING= NODE_ENV=development node server.js` - * e.g. `LBRY_CLAIM_ADDRESS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX MYSQL_CONNECTION_STRING=mysql://root:XXXXXX@localhost:3306/lbry NODE_ENV=development node server.js` +* to start the server, from your command line run `node speech.js` while passing three environmental variables: your lbry wallet address (`LBRY_CLAIM_ADDRESS`), your mysql connection uri (`MYSQL_CONNECTION_STRING`), and the environment to run (`NODE_ENV`). + * i.e. `LBRY_CLAIM_ADDRESS= MYSQL_CONNECTION_STRING= NODE_ENV=development node speech.js` + * e.g. `LBRY_CLAIM_ADDRESS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX MYSQL_CONNECTION_STRING=mysql://root:XXXXXX@localhost:3306/lbry NODE_ENV=development node speech.js` * To run hot, use `nodemon` instead of `node` * visit [localhost:3000](http://localhost:3000) diff --git a/package.json b/package.json index b4706565..63aebbbf 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,10 @@ "name": "spee.ch", "version": "0.0.1", "description": "a single-serving site that reads and publishes images to and from the LBRY blockchain", - "main": "server.js", + "main": "speech.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node server.js", + "start": "node speech.js", "lint": "eslint .", "fix": "eslint . --fix", "precommit": "eslint ." diff --git a/server.js b/speech.js similarity index 100% rename from server.js rename to speech.js