Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.3 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.3 KB

Open San Diego Website

Built with:

Setting Up a Local Dev Environment

  • install node see .nvmrc for the version used or install Node Version Switcher and then run nvs auto
  • install ruby see .ruby-version for the version used
  • run the following commands in your terminal:

gem install jekyll bundler

bundle install

npm install

Running Locally and Building CSS

To run the website on your local machine:

  • run this command in your terminal: npm start
  • open a browser and navigate to http://127.0.0.1:4000/

Note: the CSS needs to be built and committed at this point, until we figure out a way automatically include the bootstrap dependency

If you need to make styling changes, you should edit the css/main.scss file and then build the css with the following command:

npm run build

You can run from docker using

Note there are errors trying to get this latest version working with docker - hacking welcome

docker-compose up

To rebuild the SCSS, you need to do in a different terminal:

docker-compose exec jekyll npm run build