We are rebuilding the Fort Collins Bike Coop website currently. Our objective is to make it mobile friendly and add in a form to enable users to submit Volunteer Applications and Report Stolen Bikes.
This repository exists as a central place to share resources and instructions. The actual code is split into several separate repos:
- The central repository for the project is located here.
- The code for the project theme is located here.
- The code for the project plugin is located here.
- Sign up for Cloud 9.
a. Create new workspace, of type
Wordpress
name:bike-coop-c9
description:wordpress bike-coop workspace
- Use or setup a local web development environment a. Pre-configured installers: XAMPP MAMP b. Custom setups: Windows OSX
- Open up a terminal.
cd ~/workspace/wp-content/plugins/
git clone https://github.com/CodeForFoco/bike-coop-plugin
cd ~/workspace/wp-content/themes/
git clone https://github.com/CodeForFoco/bike-coop-theme
cd bike-coop-theme/
npm install
npm
command installs all pieces of theme and it takes a LONG time to complete. If it's interrupted, you will need to removenode_modules/
subdirectory in order to re-run it. When completed, the last line will look something like[email protected] node_modules/bower
and you'll get a terminal prompt.
- Click
Run Project
, found in the menubar on the page.- Open the Wordpress site at the link given, and walk through the Wordpress setup.
- in the
Welcome
form, Site Title, Username, Password, and Email are for the new site you are creating. - You'll need to login with newly created credentials to complete Wordpress setup
- in the
- Open the Wordpress site at the link given, and walk through the Wordpress setup.
- Activate Bike Coop theme from
Appearance -> Themes
sidebar item. It might be calledFoundationPress
in the preview grid. - Activate
Bike Coop Site Plugin
fromPlugins
sidebar item. - View site. Congrats! You have the Wordpress site up.
We welcome new contributors. Not sure where to start? Check for any open issues or ping the team on our slack channel.
Ensure your code follows best practices and adheres to good style.
Be sure to read our in depth guide on contributing, which includes instructions on how to fork, clone, branch, commit, pull request and sync your fork.
TL;DR Contribution Workflow:
- Fork this repository and clone your fork.
- Make a patch branch.
- Make changes, commit, and push.
- Submit a pull request and your changes will be reviewed and merged.
If you would like to contribute/migrate non-code website content, you can do so via our temporary development site. Server info including credentials are available as a pinned document on our #development Slack channel (see Jordan for access to Slack). All content creation inside of WP should be done through individual WP accounts; please only use the 'cffc' master account to create your own individual account with whatever privileges you need. This takes full advantage of the built-in WP content versioning and permissions and allows us to know who changed what outside of Git.
For those unfamiliar with adding a WordPress page, please read some basics.