Skip to content
Snippets Groups Projects
Commit 617828b2 authored by iaibrys's avatar iaibrys
Browse files

Use overleaf repos

parent f9e399dd
Branches
No related tags found
No related merge requests found
Pipeline #406 failed
...@@ -79,14 +79,20 @@ RUN cd /var/www/sharelatex; \ ...@@ -79,14 +79,20 @@ RUN cd /var/www/sharelatex; \
grunt install grunt install
# find . -type d -name .git -exec rm -rf '{}' + # find . -type d -name .git -exec rm -rf '{}' +
RUN cd /var/www/sharelatex && bash -c 'source ./bin/install-services'; \ RUN cd /var/www/sharelatex && bash -c 'source ./bin/install-services'
cd web; \ RUN cd /var/www/sharelatex/web && \
npm install; \ npm install && \
npm install bcrypt; \ npm install bcrypt
cd modules; \
RUN cd /var/www/sharelatex && find . -maxdepth 1 -type d -printf '%p\n' -exec git --git-dir '{}/.git' log -1 --pretty=oneline \;
RUN cd /var/www/sharelatex/web/modules; \
# ls -alsR launchpad; \
# mv launchpad old_launchpad; \
git clone https://github.com/overleaf/launchpad-web-module.git launchpad; \ git clone https://github.com/overleaf/launchpad-web-module.git launchpad; \
cd launchpad; git checkout fe6aaa63b4146271fc92a25ab9d22ef1099d4501; rm -rf .git; cd .. ;\ cd launchpad; git checkout fe6aaa63b4146271fc92a25ab9d22ef1099d4501; rm -rf .git
grunt compile;
RUN cd /var/www/sharelatex/web/modules ; git log -1 ; grunt compile
COPY config/git-revision.js /var/www/ COPY config/git-revision.js /var/www/
RUN cd /var/www && node git-revision > revisions.txt RUN cd /var/www && node git-revision > revisions.txt
......
...@@ -2,8 +2,8 @@ module.exports = ...@@ -2,8 +2,8 @@ module.exports =
[{ [{
name: "web", name: "web",
repo: "https://github.com/dtu-compute/web-sharelatex.git", repo: "https://github.com/overleaf/web.git",
version: "c27438b8042fc9d9e12136f4e805a690cde7c13d" version: "f56f7eed63d34122901b8abf757d3b07e50f84c1"
}, { }, {
name: "real-time", name: "real-time",
repo: "https://github.com/overleaf/real-time.git", repo: "https://github.com/overleaf/real-time.git",
...@@ -42,7 +42,7 @@ module.exports = ...@@ -42,7 +42,7 @@ module.exports =
version: "5fe85098527ef1f2cf297746ec4379013b044250" version: "5fe85098527ef1f2cf297746ec4379013b044250"
}, { }, {
name: "contacts", name: "contacts",
repo: "https://github.com/dtu-compute/contacts-sharelatex.git", repo: "https://github.com/overleaf/contacts.git",
version: "3721589e450dbe04c968a67127cb21141710e013" version: "3721589e450dbe04c968a67127cb21141710e013"
}, { }, {
name: "notifications", name: "notifications",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment