Git Product home page Git Product logo

Comments (10)

tcatm avatar tcatm commented on July 28, 2024

True. Those commands were originally put there as they were needed on the debian VM used to render the page. On recent distros just installing jekyll should be enough, too.

from bitcoin.org.

saivann avatar saivann commented on July 28, 2024

ruby1.9.1-dev build-essential at least are needed to install the ruby gems in my experience.

from bitcoin.org.

schildbach avatar schildbach commented on July 28, 2024

But you don't need ruby gems if you install everything from the distro repo.

from bitcoin.org.

saivann avatar saivann commented on July 28, 2024

Just tested 12.04 and 12.10 default ubuntu install.

Current dependencies are OK for 12.04 as jekyll is not in the repositories (but we can drop build-essential and ruby1.9.1-dev for 12.04)

However with 12.10 and "apt-get install jekyll", jekyll "seems" to build correctly. However the CSS file is missing in the _site directory. It seems we need to fix something first before we change the dependencies. I remember that "ruby1.9.1-dev" dependency was linked to some FTBFS problem, and it might be required for 12.10.

from bitcoin.org.

schildbach avatar schildbach commented on July 28, 2024

For the record, on Ubuntu 12.10 I had to install

sudo apt-get install node-less

in order to fix problems not finding "lessc".

from bitcoin.org.

schildbach avatar schildbach commented on July 28, 2024

And now I'm using

cd _site
python -m SimpleHTTPServer 8000

to just serve the site directory for local testing.

However, all the links are broken. They point to e.g. http://localhost:8000/en/choose-your-wallet while the actual resource is at http://localhost:8000/en/choose-your-wallet.html

from bitcoin.org.

saivann avatar saivann commented on July 28, 2024

Indeed, basic url-rewriting is required to get clean-url feature we can have on a simple apache server or on github. The last time I looked to find a way to handle this with jekyll webrick server, I ended up finding that it would require to patch the server..

from bitcoin.org.

schildbach avatar schildbach commented on July 28, 2024

Ok, better than nothing. I can replace the URLs by hand. At least CSS and JS appears to be loaded correctly, so I can test layouts.

from bitcoin.org.

saivann avatar saivann commented on July 28, 2024

Seems perfect with node-less. CSS and plugins build fine, and faster!

How about this in the README :

Installing dependencies on Ubuntu 12.10

sudo apt-get install jekyll node-less

Installing dependencies on older Ubuntu and Debian distributions

sudo apt-get install rubygems ruby1.9.1-dev build-essential
sudo gem install jekyll json less therubyracer

from bitcoin.org.

schildbach avatar schildbach commented on July 28, 2024

Perfect. I was going to suggest the same.

from bitcoin.org.

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.