Skip to content
/ helloldap Public

Playground for python, aiohttp, angular 2, store, json web token

License

Notifications You must be signed in to change notification settings

dmdm/helloldap

Repository files navigation

Hello LDAP

faich Fiadh fiú fogh feum!

This is no finished product!

I had some time at hand and dabbled a bit with an asyncio server in Python and authorization with JSON Web Tokens. That's all.

And yes, the client uses the store pattern and all components are OnPush.

Installation

Python cryptography library needs to be compiled. Therefore install python3.5-dev and python3-cryptography in the global environment, to pull additional dependencies. Also needed is libssl-dev.

helloLDAP is best installed and run inside a virtual environment, containing python 3.5+.

  1. Ensure, pip and sister tools are up-to-date:

    pip install --upgrade pip wheel setuptools virtualenv
    
  2. Install the required packages:

     pip install -r requirements.txt
    
  3. Setup helloLDAP:

     pip install -e .
    

Then enter folder client and install angular cli etc:

    cd client/helloldap
    npm install -g angular-cli
    npm install

Documentation

Open doc/_build/html/index.html in your web browser.

Optionally, create or update the docs:

cd doc
make html

Run

Start the server with:

serve -vv

The script has some help integrated:

serve --help

Then go to the client and start the development server:

cd client/helloldap
ng serve

Navigate your browser to http://localhost:4200.

About

Playground for python, aiohttp, angular 2, store, json web token

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published