From 98e18561d0e212ed53efd6c50bc72d9c24065a19 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Sun, 4 Jun 2017 17:40:06 -0700 Subject: [PATCH 1/2] added ToS to homepage --- public/index.html | 4 ++-- routes/html-routes.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index a74a3fac..71e0c3f0 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ -
- +

By clicking 'Publish' I attest that I have read and agree to the LBRY terms of service.

+ diff --git a/routes/html-routes.js b/routes/html-routes.js index b8e01c09..433a3bdc 100644 --- a/routes/html-routes.js +++ b/routes/html-routes.js @@ -34,7 +34,7 @@ module.exports = function(app){ res.status(200).sendFile(filePath); }) .catch(function(error){ - console.log("/:name/:claim_id error.") + console.log("/:name/:claim_id error:", error) routeHelpers.handleRequestError(error, res); }); }); @@ -47,7 +47,7 @@ module.exports = function(app){ console.log("/:name success.") res.status(200).sendFile(filePath); }).catch(function(error){ - console.log("/:name error."); + console.log("/:name error:", error); routeHelpers.handleRequestError(error, res); }); }); From 3add33ae43cf1f69d2b64536fa41fdcfd621b3cb Mon Sep 17 00:00:00 2001 From: bill bittner Date: Mon, 5 Jun 2017 10:50:13 -0700 Subject: [PATCH 2/2] updated readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5d124667..2ba746c4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # spee.ch spee.ch is a single-serving site that reads and publishes images to and from the [LBRY](https://lbry.io/) blockchain. -## how to use this repository +## how to run this repository locally * start lbry * install the [`lbry`](https://github.com/lbryio/lbry) daemon * start the `lbry` daemon @@ -10,7 +10,7 @@ spee.ch is a single-serving site that reads and publishes images to and from the * run `npm install` * from your terminal, run `npm start` * to run hot, run `nodemon server.js` -* visit [localhost:3000](http://localhost:3000) +* visit [localhost:3000](http://localhost:3000) ## site navigation * spee.ch @@ -25,12 +25,12 @@ spee.ch is a single-serving site that reads and publishes images to and from the * To view a batch of files at a claim * E.g. spee.ch/doitlive/all -## development to-do's +## development road map (to do's) * discover/explore functionality for home page * display a list of claims at /:name/all * fetching: a temporary page while the request is being made (with a loading bar?) -* publishing: a temporary page while the request is being handled by the server (with a loading bar?) -* publishing: after publishing, take the user to a temp page with the tx info and status of the tx (then redirect when the tx is complete) +* eslint with style guidelines +* implement a design for the front end ## API