@@ -24,23 +24,28 @@ Workshop given at [DevFest Nantes 2019](https://devfest.gdgnantes.com/sessions/u
2424
2525</details >
2626
27- ## Setup
27+ Slides: on [ gDrive ] ( https://docs.google.com/presentation/d/1vF0JMagmXXzn-h-OaJu6CsDt78oSQSg58YFJsBUaHxk/edit#slide=id.g4f0d75b8b4_0_0 )
2828
29- ### With make
29+ OSS tools covered:
30+ - [ gitbase] ( https://docs.sourced.tech/gitbase )
31+ - [ bblfsh] ( https://doc.bblf.sh )
32+ - [ BigARTM] ( http://bigartm.org )
33+ - [ OpenNMT] ( http://opennmt.net )
3034
31- To build the workshop image and launch the 3 required containers
35+ ## Prerequisites
36+ - Docker
3237
33- ``` shell
34- make build-and-run
35- ```
38+ ## Dependencies
3639
37- To only launch the 3 required containers
40+ Import Docker images (works offline):
3841
39- ``` shell
40- make
4142```
43+ docker load -i images/jupyter.tgz
44+ docker load -i images/gitbase.tgz
45+ docker load -i images/bblfshd-with-drivers.tgz
4246
43- ### Without make
47+ docker images
48+ ```
4449
4550Run bblfsh
4651
@@ -66,16 +71,10 @@ docker run \
6671 --link devfest_bblfshd:devfest_bblfshd \
6772 --env BBLFSH_ENDPOINT=devfest_bblfshd:9432 \
6873 --env MAX_MEMORY=1024 \
69- --volume /home/mog/work/devfest2019-workshop /repos:/opt/repos \
74+ --volume $( pwd ) /repos:/opt/repos \
7075 srcd/gitbase:v0.24.0-rc2
7176```
7277
73- Build the jupyter image
74-
75- ``` shell
76- docker build -t devfest .
77- ```
78-
7978Run the jupyter image
8079
8180``` shell
@@ -85,7 +84,46 @@ docker run \
8584 --publish 8888:8888 \
8685 --link devfest_bblfshd:devfest_bblfshd \
8786 --link devfest_gitbase:devfest_gitbase \
88- --volume /home/mog/work/devfest2019-workshop /notebooks:/devfest/notebooks \
89- --volume /home/mog/work/devfest2019-workshop /repos:/devfest/repos \
87+ --volume $( pwd ) /notebooks:/devfest/notebooks \
88+ --volume $( pwd ) /repos:/devfest/repos \
9089 devfest
9190```
91+
92+ <details >
93+ <summary >With make</summary >
94+
95+ To build the workshop image and launch the 3 required containers
96+
97+ ``` shell
98+ make build-and-run
99+ ```
100+
101+ To only launch the 3 required containers
102+
103+ ``` shell
104+ make
105+ ```
106+ </details >
107+
108+
109+ ## Workflow
110+
111+ ### 1. Download the data
112+
113+ We are going to use top XXX repositories from Apache Software Foundation though this workshop.
114+
115+ [ Notebook 1: data collection pipeline] (#link to local jupyther)
116+
117+ ### 2. Project and Developer Similarities
118+
119+ TBD
120+
121+ [ Notebook 2: project and developer similarities] (#link to local jupyther)
122+
123+
124+ ### 3. Function Name Suggestion
125+
126+ TBD
127+
128+ [ Notebook 2: function name suggestion] (#link to local jupyther)
129+
0 commit comments