Skip to content

opensandiego/opensandiego.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Open San Diego, Code for America Brigade in San Diego

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages