https://github.com/lispython/buildenv.sh
Small sh/bash script that help to install python virtualenv and node virtualenv.
https://github.com/lispython/buildenv.sh
Last synced: 9 months ago
JSON representation
Small sh/bash script that help to install python virtualenv and node virtualenv.
- Host: GitHub
- URL: https://github.com/lispython/buildenv.sh
- Owner: Lispython
- Created: 2013-03-31T07:31:55.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-05-21T21:05:46.000Z (over 11 years ago)
- Last Synced: 2025-02-07T08:51:27.103Z (11 months ago)
- Language: Shell
- Homepage:
- Size: 191 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: ChangeLog
Awesome Lists containing this project
README
buildenv.sh
===========
buildenv.sh is a small sh/bash script that help to install
python virtualenv and node virtualenv.
Usage
-----
To install buildenv.sh copy-paste this code to you shell::
curl https://raw.github.com/Lispython/buildenv.sh/master/env.sh > ./env.sh && chmod +x ./env.sh
or add buildenv.sh as submodule for you project::
git submodule add https://github.com/Lispython/buildenv.sh.git buildenv
Create in you project root sh/bash script (such as ``env.sh``) with a similar content::
if [ ! -d "./buildenv/" ]; then
git clone https://github.com/Lispython/buildenv.sh.git buildenv
fi
. ./buildenv/buildenv.sh
also you can specify variables before ``buildenv.sh`` include::
PYTHON_VERSION="python2.7" # Spefied python version
VENV_PATH="./venv" # Specified virtualenv location
JS_REQ_FILE="./js-req.txt" # Specified node requirements file
REQ_FILE="req.txt" # Specified python prod requirements file
DEV_REQ_FILE="dev-req.txt" # Specified development requirements file
JS_ENV_JOBS=10 # Nodeenv jobs
. ./buildenv/buildenv.sh
Build virtualenv by command::
./env.sh js
or::
./env.sh dev_py
CONTRIBUTE
----------
#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.
#. Fork `the repository`_ on Github to start making your changes to the **develop** branch (or branch off of it).
#. Write a test which shows that the bug was fixed or that the feature works as expected.
#. Send a pull request and bug the maintainer until it gets merged and published.
.. _`the repository`: https://github.com/Lispython/buildenv.sh