Giter VIP home page Giter VIP logo

Comments (5)

JuneKelly avatar JuneKelly commented on August 30, 2024

Hi! I think the grunt install instruction is now obsolete, as we removed Grunt a while ago.
If you skip that step, does the CLSI just work?

from clsi.

gh-badreddine avatar gh-badreddine commented on August 30, 2024

no, it doesn't. it works fine on docker but not if I use the readme instructions.
this is what I tried:

from clsi.

JuneKelly avatar JuneKelly commented on August 30, 2024

Does it work if you run node app.js (after the npm install)?

I think the Readme for this project is very out of date, and the bottom line of the Dockerfile shows how we actually start this application in production: https://github.com/overleaf/clsi/blob/master/Dockerfile#L23

In general we only support the docker-based releases of overleaf, and running the applications directly from these git repositories is a kind of "if it works then great" affair. We will try to clean up the documentation so it actually works though :)

from clsi.

johnsks avatar johnsks commented on August 30, 2024

Hello,

This is what I have done to install CLSI on Ubuntu 18.04 LTS,

sudo apt install texlive-latex-extra
sudo apt install latexmk
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install gcc g++ make
sudo apt-get install -y nodejs
sudo apt-get update && sudo apt-get install yarn
sudo apt autoremove
nodejs --version
npm --version
git clone https://github.com/overleaf/clsi.git
cd clsi
npm install
npm audit fix
npm start

The CLSI service starts OK.

root@localhost:/tmp# netstat -tupln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3013 0.0.0.0:* LISTEN 16606/node
tcp 0 0 127.0.0.1:3048 0.0.0.0:* LISTEN 16606/node
tcp 0 0 127.0.0.1:3049 0.0.0.0:* LISTEN

Hope this information is helpful.

-John

from clsi.

JuneKelly avatar JuneKelly commented on August 30, 2024

Excellent! I'm glad it's working now. We'll try to update the documentation soon.

from clsi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.