2021-07-28 12:08:55 +00:00
|
|
|
# Vac
|
2017-11-09 02:41:49 +00:00
|
|
|
|
2018-11-06 16:57:51 +00:00
|
|
|
## Requirements
|
2017-11-12 05:09:14 +00:00
|
|
|
|
2021-07-28 12:08:55 +00:00
|
|
|
- [Bundler](http://bundler.io/)
|
|
|
|
- [Jekyll](https://jekyllrb.com/)
|
|
|
|
- [Node.js](https://nodejs.org/en/)
|
|
|
|
- [npm](https://www.npmjs.com/)
|
|
|
|
- [Ruby](https://www.ruby-lang.org/en/)
|
2017-11-22 03:28:56 +00:00
|
|
|
|
2021-07-28 12:08:55 +00:00
|
|
|
## Get started
|
2019-03-20 06:41:36 +00:00
|
|
|
|
2021-07-28 16:42:59 +00:00
|
|
|
### Setting up bundler and jekyll on Apple M1 (with system installed ruby x86_64)
|
|
|
|
|
|
|
|
Running inside project directory:
|
|
|
|
|
|
|
|
- `arch -x86_64 gem install --user-install bundler jekyll`
|
|
|
|
- `echo 'export PATH="~/.gem/ruby/2.6.0/bin:$PATH"' >> ~/.zshrc`
|
|
|
|
- `bundle update`
|
|
|
|
|
|
|
|
### Working with the project
|
|
|
|
|
2021-07-28 12:08:55 +00:00
|
|
|
- `bundle install` to install Ruby gems
|
|
|
|
- `npm ci` to install npm packages listed in `package-lock.json`
|
|
|
|
- `npm run start` or `npm run dev` to compile the site with development settings and run BrowserSync
|