updated readme

This commit is contained in:
bill bittner 2018-03-19 15:46:49 -07:00
parent 11cc91ac05
commit 321eb1b993
5 changed files with 12 additions and 10 deletions

View file

@ -12,11 +12,13 @@ Spee.ch is a web app that reads and publishes images and videos to and from the
* start spee.ch
* clone this repo
* run `npm install`
* create your `
speechConfig.js` file
* copy `speechConfig.js.example` and name it `speechConfig.js`
* create your own config files in `/config`
* copy `example.js.example` and name it `example.js`
* replace the `null` values in the config file with the appropriate values for your environment
* build the app by running `npm run build-prod`
* create your own config files in `/devConfig`
* copy `example.js.example` and name it `example.js`
* note: you must create these files, but the default values are sufficient if you do not want to update them.
* build the app by running `npm run build`
* to start the server, run `npm run start`
* visit [localhost:3000](http://localhost:3000)
* start spee.ch-sync (optional, recommended)
@ -46,8 +48,8 @@ Spee.ch is a web app that reads and publishes images and videos to and from the
* /api/claim/publish
* example: `curl -F 'name=MyPictureName' -F 'file=@/path/to/myPicture.jpeg' https://spee.ch/api/claim/publish`
* Parameters:
* `name`
* `file` (must be type .mp4, .jpeg, .jpg, .gif, or .png)
* `name` (required)
* `file` (required) (must be type .mp4, .jpeg, .jpg, .gif, or .png)
* `nsfw` (optional)
* `license` (optional)
* `title` (optional)

View file

@ -1,5 +1,5 @@
const logger = require('winston');
const db = require('../models/index');
const db = require('../models');
const lbryApi = require('../helpers/lbryApi.js');
const publishHelpers = require('../helpers/publishHelpers.js');
const { publishing: { primaryClaimAddress, additionalClaimAddresses } } = require('../../config/siteConfig.js');

View file

@ -1,4 +1,4 @@
const db = require('../models/index');
const db = require('../models');
const logger = require('winston');
const { returnPaginatedChannelClaims } = require('../helpers/channelPagination.js');

View file

@ -1,7 +1,7 @@
import React from 'react';
import { renderToString } from 'react-dom/server';
import { createStore, applyMiddleware } from 'redux';
import Reducer from 'reducers/index';
import Reducer from 'reducers';
import { Provider } from 'react-redux';
import { StaticRouter } from 'react-router-dom';
import GAListener from 'components/GAListener';

View file

@ -1,5 +1,5 @@
const logger = require('winston');
const db = require('../models/index');
const db = require('../models');
module.exports = {
postToStats (action, url, ipAddress, name, claimId, result) {