Skip to content
/ pyXain Public

The python based client for managing submissions to the arXain.

License

Notifications You must be signed in to change notification settings

arXain/pyXain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

Getting Started

Make sure you have the following packages installed on a python3 environment

  • ipfsapi
  • flask
  • requests

Using anaconda you can do this with

conda create -n pyxain python=3.6
source activate pyxain
pip install flask requests ipfsapi

Then in the pyXain/ directory, run

pip install --editable .
export FLASK_APP=pyxain.api
export FLASK_DEBUG=true
flask run

to install the pyxain package and run the api server at localhost:5000.

You also must run have an ipfs daemon running in a separate terminal

ipfs daemon

You can now view the landing page on (http:///127.0.0.1:5000)

Note: every time you open a new terminal session and want to run the node, you need to enter both of the export statements.

Testing

All code should be tested and placed in the pyXain/tests/ directory in their respective files. Each module has its own test module.

About

The python based client for managing submissions to the arXain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages