Skip to content

Commit 6f5e201

Browse files
authored
Merge pull request #165 from MetaCell/precns
Precns
2 parents 41d4446 + b54c51f commit 6f5e201

201 files changed

Lines changed: 11969 additions & 1572 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ init.py
1313
webapp/node_modules
1414
webapp/geppetto-client
1515
webapp/build
16-
tests
1716
netpyne_workspace
1817
Dockerfile_mini
1918
npm*

.travis.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
language: python
22
os: linux
3-
dist: trusty
3+
python:
4+
- "3.7"
45
node_js:
5-
- "7"
6+
- "12"
67
env:
78
global:
8-
secure: dn0FPQ5IG4M/3kdwnyI78ElQ308Vc3QnKAvkWfwMFb8QxDqxQdnTo7AV1qTMtbLrDNkeEWIgi4nc7jmXNtvGTwOfhAULVh6606Qs5B+ezTdwzajbbFMI8SKQx/pnTojOMu8dx7V4lMoR/YWcojR0VC1IWVC62TGbSB1k5BDGgH0=
9+
- secure: dn0FPQ5IG4M/3kdwnyI78ElQ308Vc3QnKAvkWfwMFb8QxDqxQdnTo7AV1qTMtbLrDNkeEWIgi4nc7jmXNtvGTwOfhAULVh6606Qs5B+ezTdwzajbbFMI8SKQx/pnTojOMu8dx7V4lMoR/YWcojR0VC1IWVC62TGbSB1k5BDGgH0=
10+
- DEFAULT_BRANCH: development
11+
- LANDING_PAGE: "http://localhost:8888/geppetto"
912
notifications:
1013
slack: metacell:5ALSeoP88DqIhORUJvxE56sq
11-
services:
12-
- docker
14+
install:
15+
- sudo apt-get install libgnutls28-dev
16+
- sudo apt install libcurl4-openssl-dev libssl-dev
17+
- sudo apt-get install python3-dev
1318
script:
14-
- travis_retry docker build -t="netpyne-ui" --build-arg branch=$TRAVIS_BRANCH .
19+
20+
- python utilities/install.py
21+
- ./NetPyNE-UI &
22+
- http_status=$(curl -s -I $1 $LANDING_PAGE | grep HTTP/1.1 | awk {'print $2'})
23+
- echo "$http_status"
24+
- cd webapp
25+
- travis_retry npm run test -- --verbose --colors
26+
- exit 0

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ If you are familiar with NEURON and have already NEURON installed in your machin
2323

2424
## Install NetPyNE User Interface from sources (for developers)
2525

26-
2726
### Python Dependencies
2827

2928
We recommend the use of a new python 3 virtual environment:
@@ -39,16 +38,20 @@ Or, with conda
3938
conda create -n netpyne python=3.7
4039
conda activate netpyne
4140
```
41+
4242
### Run install script
43-
```
43+
44+
```bash
4445
git clone https://github.com/MetaCell/NetPyNE-UI.git
4546
cd utilities
4647
python install.py
4748
cd ..
4849
./NetPyNE-UI
4950
```
50-
### To update sources:
51-
```
51+
52+
### To update sources
53+
54+
```bash
5255
python update.py
5356
```
5457

0 commit comments

Comments
 (0)