Code Monkey home page Code Monkey logo

pydev's Introduction

One-Command — uWSGI on Python 3

Simple and Fast way to set an environment for python 3. Virtualenv, Cython and uWSGI are installed by this configuration. This repo is intended for server with only one site. It SHOULD work only on Debian based distro.

This script comes with ABSOLUTELY NO WARRANTY.

Instructions

One-Command Install

Run this perfect command.

bash <(curl -s https://raw.githubusercontent.com/piNot3/pyDev/master/script.sh)

That's it!

To get in the environment workspace

To use python, pip, you have to run this command.

source /var/web/env/bin/activate

To exit, just type deactivate

To install your package without activating the environment workspace

Use pip from virtualenv to achieve it.

/var/web/env/bin/pip install django                   # Django
/var/web/env/bin/pip install flask                    # Flask
/var/web/env/bin/pip install --no-binary :all: falcon # Falcon

Other Python Web Frameworks here

For Koding

If you're using Koding, you have to stop and disable apache BEFORE executing the One-Command Install.

sudo service apache2 stop
sudo update-rc.d apache2 disable

My Two Cents

➜ Right click on folder "web" » Workspace from here

For NitrousIO

If you're using Nitrous.io, you have to change your port to 3000.

sudo nano /etc/nginx/sites-enabled/uwsgi
sudo service nginx restart

My Two Cents

➜ Right click on folder "web" » Set "web" As Root

pydev's People

Watchers

 avatar

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.