parent
5cbf5365c5
commit
c45c23ae6f
|
@ -1,6 +1,9 @@
|
||||||
sudo: false
|
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- "4.2"
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
postgresql: "9.4"
|
postgresql: "9.4"
|
||||||
|
@ -24,6 +27,7 @@ env:
|
||||||
before_script:
|
before_script:
|
||||||
- psql -c "create database lemur;" -U postgres
|
- psql -c "create database lemur;" -U postgres
|
||||||
- psql -c "create user lemur with password 'lemur;'" -U postgres
|
- psql -c "create user lemur with password 'lemur;'" -U postgres
|
||||||
|
- npm config set registry https://registry.npmjs.org
|
||||||
- npm install -g bower
|
- npm install -g bower
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -1,9 +1,16 @@
|
||||||
NPM_ROOT = ./node_modules
|
NPM_ROOT = ./node_modules
|
||||||
STATIC_DIR = src/lemur/static/app
|
STATIC_DIR = src/lemur/static/app
|
||||||
|
|
||||||
|
USER := $(shell whoami)
|
||||||
|
|
||||||
develop: update-submodules setup-git
|
develop: update-submodules setup-git
|
||||||
@echo "--> Installing dependencies"
|
@echo "--> Installing dependencies"
|
||||||
|
ifeq ($(USER), root)
|
||||||
|
@echo "WARNING: It looks like you are installing Lemur as root. This is not generally advised."
|
||||||
|
npm install --unsafe-perm
|
||||||
|
else
|
||||||
npm install
|
npm install
|
||||||
|
endif
|
||||||
pip install "setuptools>=0.9.8"
|
pip install "setuptools>=0.9.8"
|
||||||
# order matters here, base package must install first
|
# order matters here, base package must install first
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
Loading…
Reference in New Issue