Skip to content

EUDAT-B2SHARE/ui-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B2SHARE server

B2share dummy server in Python with Flask.

Development

Eighter run through Apache (ProxyPass) or as standalone.

NOTE: Access-Control-Allow-Origin must be set if alternate ports/ hosts are used!

Prerequisites

  • Python 2.7
  • Pip
  • Virtualenv

Install

git clone [email protected]:EUDAT-B2SHARE/ui-server.git
cd ui-server/
virtualenv .dev
. .dev/bin/activate
python setup.py develop

Run

python scripts/b2share-serve

Apache ProxyPass

<VirtualHost *:80>
  ProxyRequests off
  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>
  <Location /backend/>
    ProxyPass http://x.x.x.x:5000/
    ProxyPassReverse http://x.x.x.x:5000/
  </Location>
</VirtualHost>

About

UI server dummy with rest api for ui-frontend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages