Skip to content

tommy-stone/opensandiego.github.io

 
 

Repository files navigation

Open San Diego Website

Built with:

Setting Up a Local Dev Environment

Gitpod

  • install node
  • install ruby
  • 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/
  • on gitpod say yes to expose the ports when prompted

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

To run with a Docker container you can use a prefabricated one for github pages like:

E.g. from https://github.com/Starefossen/docker-github-pages

docker run -it --rm -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages

About

Open San Diego, Code for America Brigade in San Diego

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 83.8%
  • HTML 12.3%
  • Ruby 3.2%
  • Other 0.7%