-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Development and production environments.
How to make seperate environments for project and development purposes.
The base folder in your home directory. Please replace ~
with
path you wish to use.
cd ~
mkdir pycatia-projects
cd .\pycatia-projects\
github (development)
cd .\pycatia-projects\
# deactivate any virtualenv if active
deactivate
# clone the github repo
git clone https://github.com/evereux/pycatia.git pycatia-git
cd pycatia-git
python -m virtualenv env
.\env\Scripts\activate
pip install -r .\requirements\requirements.txt
pypi (production)
# deactivate any virtualenv if active
deactivate
cd ~\pycatia-projects\
# first we'll create the project that uses pycatia from pypi
mkdir pycatia-pypi
cd .\pycatia-pypi\
# install and activate the virtualenv
python -m virtualenv env
.\env\Scripts\activate
pip install pycatia
Resultant folder structure:
Each environment (pycatia-git
, pycatia-pypi
) should be opened
independently with their respective virtualenvs activated within your IDE.
Metadata
Metadata
Assignees
Labels
No labels