Skip to content

SophiaTX/DevPortal

Repository files navigation

SophiaTX API Portal

The following API documents provide details on how to interact with the SophiaTX blockchain database API which can get information on accounts, content, blocks and much more!

The developer portal will also serve as a toolbox for SophiaTX clients, libraries, and language wrappers.

Develop

SophiaTX Portal was built with Jekyll version 3.1.6, but should support newer versions as well.

Install the dependencies with Bundler:

$ bundle install

Run jekyll commands through Bundler to ensure you're using the right versions:

$ bundle exec jekyll serve

You can now test locally at

http://localhost:4000

Optionally, when running jekyll commands through Bundler, append --host x.x.x.x with the external IP address of the server to be able to connect remotely:

$ bundle exec jekyll serve --host x.x.x.x
http://x.x.x.x:4000

Production Deploy

When you are ready to deploy final site to the production, run following command:

$ bundle exec jekyll build --destination docs

and commit changes to the github repo. Site is then served from static files generated in docs folder.