- CRM is a Flask app
- We have 2 main modes to install and run the application
Development
&Production
modes Depending on the mode you're running requirements may change (a bit) not dramatically
virtualenv -p python3 crm_env
. crm_env/bin/activate
- Use the script
./prepare.sh
to install all dependencies - usage:
./prepare --prod (Install Production dependencies) ./prepare --dev (Install Development dependencies)
-
Install System level dependencies
- Ubuntu
apt-get -y < requirements.apt
- Mac
xargs brew install < requirements.brew
- Ubuntu
-
Install Python level dependencies
- Development environment
pip3 install -r requirements-testing.pip
- Production environment
pip3 install -r requirements.pip
- Development environment
-
Install Nodejs level dependencies
- Development environment
cat requirements.npm | sudo xargs npm install -g
- Production environment
Nothing yet
- Development environment
-
Development mode python packages that are not needed in production:
flask-shell-ipython
coverage
nose
ipdb
-
Development nodejs packages that are not needed in production:
@2fd/graphdoc
It's used to re-create graphql API docs from a graphql schema file and it's the only nodejs dependency for now