Name: steemconnect
Owner: Utopian.io
Description: SteemConnect2: Token Based Authentication Made Easy
Forked from: mooncryption/steemconnect
Created: 2017-12-02 20:20:11.0
Updated: 2017-12-02 20:20:12.0
Pushed: 2017-12-05 00:30:17.0
Size: 5299
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Utopian.io's premier account connection and identity layer service.
Based on a fork of SteemConnect (a Steemit Inc + Busy Project), adapted and modified for Utopian.
Follow the four sections below to install and run Utopian Connect!
Clone this repository locally and cd
into it.
Download and install Node.js >= 7.7.1 then run
install
Set these Environment variables like so: (you must use the export
command)
rt BROADCASTER_USERNAME='[YOUR STEEM ACCOUNT NAME, example: utopian-io]';
rt BROADCASTER_POSTING_WIF='[YOUR POSTING WIF FOR THE ABOVE ACCOUNT]';
rt JWT_SECRET=[RANDOM STRING HERE];
rt DATABASE_URL=localhost:5432;
rt STEEMJS_URL='https://api.steemit.com';
rt DEBUG='sc2:*';
rt PORT=3500;
Install postgreSQL:
install postgresql # install postgreSQL with Homebrew
tl -D /usr/local/var/postgres start && brew services start postgresql # start postgreSQL
gres -V # confirm that postgreSQL is running
Now, run psql postgres
on the command line to enter postgres's command prompter (you may or may not need sudo
.)
You are now in the PSQL command line. Try postgres=# \du
to see the list of installed users.
Set up Utopian Connect in the PSQL line:
TE ROLE utopian WITH LOGIN PASSWORD 'utopian';
This creates the main utopian
POSTGRES account.
Check to make sure the account was created. The attribute list should be empty. If the account was not created, try CREATE ROLE
again.
R ROLE utopian SUPERUSER;
Give the account permission to access databases freely.
TE DATABASE sc2;
Create a database with name sc2
.
T ALL PRIVILEGES ON DATABASE sc2 TO utopian;
Make sure the utopian account has permissions to the database.
Lastly, I recommend installing this free software called postico
to manage the database. The GUI for Mac is very easy to use.
Quit the PostGres command prompter.
install -g sequelize-cli
elize db:migrate;
elize db:seed:all;
start
Utopian Connect should be running now, and the webpack should be built.
Visit localhost:3500
or localhost:3500/dashboard
in your browser to check it out