There are so many ways to grow food in an urban environment. Window boxes, pots or buckets on stairs or a flat roof are great options, and are how I gardened for many years. Tomatoes, lettuce, cucumbers and herbs are all easy to grow in containers. And the online resources for container gardening online are endless. If you are fortunate to have a little piece of earth outside your door, as i now do, raised beds are a great option. For the first few years that I had a yard, I gardened in the ground and had my soil tested and also added lots of compost and lyme to it to help things grow, but last year we finally managed to build raised beds, which allow us to grow more food in a smaller space and guarantee that our soil is not contaminated with lead or other toxins. You can purchase raised beds online, or build them yourself rather cheaply. Click here to read a detailed post on how we built ours using inexpensive but sturdy douglas fir wood.
What are you growing and where?