Giter VIP home page Giter VIP logo

kaideals's Introduction

kaideals PRs Welcome

Flash deals for restaurants / fast food web app. We dream of helping people discover the hidden gems of their city.

User can go to the web site or mobile app, and see deal happening right now near me. Kai deals should know the cheapest food in your neighbourhood.

Helping restaurant owners to get rid of excess food and avoid waste.


START HERE:

Depending on where you are at in you coding journey you should start here. Below are some quick steps /tutorials to get you familiar with the workflow for contributing to the project.

The end goal is you making a pull request on github.

First lets start by cloning the repo

$ git clone https://github.com/codeforprojects/kaideals.git 

$ cd kaideals

If you are unfamiliar with Git checkout the git section

You will need to have Node and Docker installed to get started.

Now you can Start up the app

React / Frontend

If you would like to get involved in the React side of the project please make your first contribution here: React newbie - coming soon

Node / Backend

If you choose to follow the node side of the project make sure you check out the


Git

If are unfamiliar with git start here Git

  • open your terminal
  • navigate to where you want to download the project to.
  • type: git clone https://github.com/codeforprojects/kaideals.git

This will this download the repo locally and turn it into a git repository, which allows to track all the changes you make.

  • now you can go ino the project dir
  • cd kaideals

Dependencies

Before we start developing we will need to set up a few things

Note on support: were are only able to support Linux and Mac OS natively due to buld system overhead. If you are on Windows skip to vm section

Otherwise for Mac and Linux:

1. terminal

You will need to have a bash command line to run all of the developer tools we use in the project.

2. docker

To start developing you will need to install docker

3. Node

Install the relevant version of node js for your operating system here

This will install npm and node.


Getting started


make install

Run this first to install the npm depedencies used by the project

make start

with everything has been set up.

  • open your terminal
  • navigate project folder kaideals
  • type make install
    • this npm installs all the dependencies for the project
  • make start
## To see the running docker containers type:
$ docker ps 

CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                     NAMES
999f9910cd34        mdillon/postgis     "docker-entrypoint.sh"   37 seconds ago      Up 33 seconds       0.0.0.0:58008->5432/tcp   postgres
726977c0fd05        kaideals_app        "pm2 start processes."   37 seconds ago      Up 34 seconds       0.0.0.0:8000->5000/tcp    app

Our code is running inside of docker containers. You can poke around in the containers with

$ docker exec -it app /bin/sh
/var/www/app # 

you are now inside the tiny operating system of the docker container 'app' being the name of the container you want to explore

App!
make refresh

When you have made changes to the code, type make refresh to rebundle the React js code and copy any code changes into the docker containers. This also restarts the Node js process.

Long story short - if makes changes make sure you type make refresh to see them.

make clobber

To clean up the project environment. This command shuts down the docker containers, removes them and deletes the docker images. as well as uninstalling the npm dependencies.

Handy if your not sure whats going wrong. Burn it all

PS. for more information on these commands checkout the makefile file in the project folder. There you will see what each of the make commands does.

Virtual Machine for Windows

If you are on windows you will need to download this Virtual Machine image - Download

  1. first download Virtual box
  2. then VM image
  3. Finally import the image into Virtual Box and run it - instructions
  4. open terminal and start project
$ cd ~/code/kaideals
$ make install
$ make start
Optional - SSH

So that you dont have to enter your password everytime when you use git, you can add a ssh key. A secure way to identify your computer to github.

github tutorial for creating / adding a ssh key



Managing and tracking project progress:

We are using github projects to manage the project. Go

Project structure

coming soon....

Team

Code For Projects meetup

Join the slack channel here

kaideals's People

Contributors

emimnemonic avatar joepaynes avatar kavithashivani avatar mayurdw avatar musedivision avatar tropicalpenguin avatar

Watchers

 avatar

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.