Git Product home page Git Product logo

bgbb's Introduction

Boston Gay Basketball League

This is the Boston Gay Basketball league iOS app. It's gonna be awesome, with shiny bells and whistles. Right now it does literally nothing. This README has some probably redundant instruction on how to get started and start developing our app, as well as some tips and tricks on how we do things at GAI-BGBB. There aren't so many tips and tricks yet because we haven't decided on how we are going to do things.

Getting Started

I'm not going to assume any level of experience, so here are some potentially useful resources if you are having trouble following the below instructions. Or you can ask me during a meeting (Calvin).

If you just want to get started quickly, you can skip these. But you will need them later, especially the git stuff.


To get ready to develop, you are going to need to download this repository, install Xcode, homebrew, and carthage.

  1. Install Xcode from the Mac App store. Get the latest version (8.something) I think you might have to create a free Apple Developer account.

  2. Install homebrew. There is a command to paste into a terminal on the main site. If you were wondering, homebrew is a package manager for mac. It just allows us to install lots of (mostly) developer-facing software really easily and consistently.

  3. Use homebrew to install carthage. Carthage is one of several dependency managers for Swift, and will make it easier for us to use other open source code to make our app awesome with minimal work. I have already added one depedency called Alamofire that will make doing HTTP networking much easier.

    # Install carthage with homebrew
    brew install carthage
  4. Clone this project from Github. This can be done very easily from the terminal. (The pound signs are comments)

    # Change Directory to the Desktop (you don't have to put it on your desktop)
    cd ~/Desktop
    
    # Clone the respository
    git clone https://github.com/bakpakin/BGBB.git
  5. Use carthage to set up the dependencies. Alamofire is not included in the repository because it is not part of our app. So after you clone the repository, you have to tell carthage to donwload the dependencies. From the project directory (inside ~/Desktop/BGBB if you follow the above instruction verbatim), run the following command:

    # Note: the terminal (or shell) is always 'in' a directory - the current directory.
    # You can set that directory with the cd command. For example, "cd ~/Desktop/BGBB". The tilda
    # is an alias for your home directory, which is where the terminal probably starts.
    
    carthage bootstrap --platform iOS

If this doesn't work, try fixing XCode with the following:

 sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer

and then re-running the carthage bootstrap command. 6. Now open up Xcode and File>Open the iOS app. You should be able to run the app on the simulator and see a whole lot of nothing interesting.

Halp

It could be that something is unclear, these instructions are wrong, or something else entirely. Whatever the problem, there are a lot of smart, experienced people at GAI, and they can probably help you. If there is something wrong in here, help me correct it.

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.