Coder Social home page Coder Social logo

bikes_for_students's Introduction

Bikes For Students

A website that provides information for foreign exchange students working in Rehoboth Beach, DE

Development Flow

Make sure you have git installed and you are logged in on the command line docs

If you haven't already, add a remote to point at this github repository AND to our production server:

git clone [email protected]:mikekauffman/bikes_for_students.git (this will copy the code locally and add a remote to point at it called "origin", so run this command from the directory you want the code to be copied into)
git remote add production https://git.heroku.com/j1rehoboth.git

Steps you will do each time you want to make changes:

  1. Get (pull down) the most recent changes
git pull origin master
  1. Open the app's directory in your text editor (I think julie got Atom?)

  2. Create your database, migrate the db, and start your rails development server:

rake db:create db:migrate
rails server

Note: You'll only need to migrate once. The db schema has not changed, and most of our storage is happening via google docs anyway.

  1. Once your server is running, verify that everything is working locally by visiting http://localhost:3000/ in your browser. It should be an exact replica of the production website.

  2. Make changes to the file you want to change

  • Main HTML markup can be found at app/views/pages/home.html.erb
  • Styles can be found in app/assets/stylesheets/application.scss and scrollin-nav.scss in the same directory
  1. Save the files you have changed and check them in your local server to ensure nothing is broken and your changes are correct.

  2. Add and commit those changes to git:

git add -p (this will step you through each chunk of code changes, press y to accept them and n to reject what you don't want to save)
git commit -m 'Some message here describing what changes you made'
git push origin master
  1. Push the changes into production:
git push heroku master
  1. Make sure you didn't break production by visiting j1rehoboth.com once the previous command completes

  2. Pat self on back; you did it

bikes_for_students's People

Contributors

mikekauffman avatar

Watchers

James Cloos avatar Michael Jones avatar

Forkers

brucekauffman

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.