Comments (10)
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.
ruby1.9.1-dev build-essential at least are needed to install the ruby gems in my experience.
from bitcoin.org.
But you don't need ruby gems if you install everything from the distro repo.
from bitcoin.org.
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.
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.
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.
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.
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.
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.
Perfect. I was going to suggest the same.
from bitcoin.org.
Related Issues (20)
- Btc
- New event
- BTC Map & map.bitcoin.org HOT 4
- Incorrect Language Name for Slovak Version of Bitcoin Whitepaper HOT 1
- Removing all access from page and resetting Satoshi Nakamoto page as this is page belongs to Satoshi and with the address on the bottom of page is a way to POW note
- Bitcoin.org's 2100th fork HOT 1
- Creator
- How do i submit new translations for the bitcoin whitepaper?
- New event
- New event: Web3 Creators summit
- If this is to be updated every release, there need to be clear rules as how to do that.
- New event
- Add supported BIPs to Wallet Comparison
- New event
- Satsconf 2023 - Bitcoin-Only Conference in Brazil
- Report Text HOT 1
- New event
- Help! HOT 3
- Download page is outdated
- New event
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoin.org.