How do i install a program?

30 views
Skip to first unread message

Gavinology

unread,
Jun 2, 2019, 3:13:04 PM6/2/19
to web2py-users

I have been trying to install the program E-vote into web2py but do not know how.

I am using windows. Can anyone guide me how to install this app on web2py?

Pardon my ignorance as i am very new to this with no programming background. 



Installing E-Vote

E-Vote uses the web2py framework and can be installed like any other web2py application; see the web2py documentation for details. If you just want to try out E-Vote quickly, here is one way to get it up and running on your laptop:

  $ git clone --recursive https://github.com/web2py/web2py.git
  $ cd web2py/applications
  $ git clone https://github.com/mdipierro/evote.git
  $ cd ..
  $ sudo /etc/init.d/apachectl stop  # <-- stop other web server if needed
  $ python web2py.py
    ...Watch it launch, then visit
       http://127.0.0.1:8000/evote/default/index
    ...in your browser.

To deploy at the root of the site (e.g., at http://127.0.0.1:8000/ instead of http://127.0.0.1:8000/evote/default/index), simply name the E-Vote directory applications/init/ instead of applications/evote/. The magic name "init" will cause E-Vote to appear at the site root.

To deploy E-Vote in production, you may want to go to web2py.com and learn more about deploying web2py-based applications in general. If you're in a hurry, see scripts/setup-*.sh in the web2py tree. One common way to deploy web2py applications is with WSGI under Apache HTTPD: in the web2py tree, copy handlers/wsgihandler.py to the top level of the tree, and set the appropriate WSGI options in the Apache configuration. See the Deployment recipes chapter in the web2py manual for more.

Screenshot_060219_062657_PM.jpg
Screenshot_060219_063123_PM.jpg

黄祥

unread,
Jun 2, 2019, 7:03:52 PM6/2/19
to web2py-users
seems git haven't installed yet on your system, think first install the git then follow the steps above (on your prev message)
ref:

best regards,
stifan

Massimo Di Pierro

unread,
Jun 3, 2019, 1:14:19 AM6/3/19
to web2py-users
If you have web2py installed and do not want to install git, than just unzip the evote app under web2py/applications/
Reply all
Reply to author
Forward
0 new messages