Giter Site home page Giter Site logo

Installation Doc / Wiki about passhport HOT 14 CLOSED

elg avatar elg commented on August 19, 2024
Installation Doc / Wiki

from passhport.

Comments (14)

VeryTastyTomato avatar VeryTastyTomato commented on August 19, 2024

These instructions are written for Debian 8.0.

Before installing passphport, you need to install the following packages with the command:

$ sudo apt-get install git python- docopt python3-docopt python3-flask python3-flask-sqlalchemy python-flask-migrate python-migrate curl

Then enter the following command:

$ git clone https://github.com/LibrIT/passhport.git

and, after going in the folder passhport, launch the script db_create.py:

$ ./db_create.py

Now you can start the server using the command:

$ ./passhportd

from passhport.

elg avatar elg commented on August 19, 2024

I'm not sure that Git neither Curl are usefull. Raphux will create the wiki page, I guess he can try wihtout this dependencies (downloading the zip from the github interface)

from passhport.

elg avatar elg commented on August 19, 2024

Git and Curl are used to develop/test... Means that maybe we need a "Development environment installation" doc page too ? or maybe a simple paragraph.

from passhport.

elg avatar elg commented on August 19, 2024

Last comment, on Debian 7, the dependencies aren't packaged... So maybe add a simple line like:
"For unsupported distribution, you can try to use pip to install the dependencies". PiP works well on debian 7 for example.

from passhport.

VeryTastyTomato avatar VeryTastyTomato commented on August 19, 2024

After testing, if you use Python 2.7, you need to install python-docopt instead of python3-docopt (which is for Python 3).

from passhport.

elg avatar elg commented on August 19, 2024

So we need to create a documentation for Debian 8, using packages about python 2.7 with remarks for:

  • python3 (saying that it python3-XXX packages have to be installed)
  • Debian 7 (saying that pip has to be used)

from passhport.

VeryTastyTomato avatar VeryTastyTomato commented on August 19, 2024

The package python-requests is also needed.

from passhport.

elg avatar elg commented on August 19, 2024

I'll takeover this one.

from passhport.

VeryTastyTomato avatar VeryTastyTomato commented on August 19, 2024

For testing we use the module pytest, installed with the following packages:

$ sudo apt-get install python-pytest python3-pytest

from passhport.

elg avatar elg commented on August 19, 2024

Doc wiki is simply initiated... Still the issue should be pushed in next iteration.

from passhport.

VeryTastyTomato avatar VeryTastyTomato commented on August 19, 2024

In fact, we use the module nosetests to do unit tests, so the package needed is:

sudo apt-get install python-nose

from passhport.

VeryTastyTomato avatar VeryTastyTomato commented on August 19, 2024

The following command needs to be launched as well:

pip install future

from passhport.

elg avatar elg commented on August 19, 2024

Linked with #128

from passhport.

Raphux avatar Raphux commented on August 19, 2024

With docs.passhport.org that contains chapters for installation under Debian and CentOS, this issu can be closed.

from passhport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.