bounswe / 2021SpringGroup7

We are Bogazici University Computer Engineering students. This repository mainly contains our group work in CMPE-352 and CMPE-451. You can get to know our team members, see the details of our meetings, learn our communication methods and read our important reports in this repository.
7 stars 0 forks source link

:earth_asia: Columbus Project :earth_africa:

We are Bogazici University Computer Engineering students. This repository mainly contains our group work in CMPE-352 and CMPE-451.

What is Columbus

Our project, COLUMBUS, is a location stories platform where users can share stories about locations and interact with each other on these stories. To achieve this, we organize periodic meetings to assign weekly tasks to team members and finish them as a group. You can see our wiki page for further information.

CMPE 352

CMPE-352 or "Fundamentals of Software Engineering" is a course that teach us about the issues, practices, and tools associated with developing software as a team.

CMPE 451

CMPE-451 focuses on the successful application of the practices for managing the lifecycle of the development of a software product. It is about applying the fundamental principles gained during Cmpe352.

Practice-app

The URI of the practice app could be found here: http://ec2-35-158-103-6.eu-central-1.compute.amazonaws.com/ \ The APIs could be found here: http://ec2-35-158-103-6.eu-central-1.compute.amazonaws.com:5000

What to Find Here

You can get to know our team members, see the details of our meetings, learn our communication methods and read our important reports in this repository.

👋 Team Members 👋

Instalation

Building the Images

To build the application, please follow the below steps:

  1. Make sure that Docker is installed in the computer. If not please follow the instructions on their website.
  2. Go to the directory Columbus in the source code of the repository
  3. Go to the Frontend directory
  4. Change the REACT_APP_API_URL in the .env file to where the backend will be deployed with port 8000.
  5. For linux, run the command in the Columbus directory echo "MAIL=Columbus_451_columbus\nDEBUG=True\n" > backend/src/.env to set the run environment for the backend.
  6. Run the following command to build the images for backend and frontend. If you have not enabled the using docker without sudo add the sudo prefix for each command:
    • For Linux: docker-compose build
    • For other OSs: docker compose build
    • If you want to build the specific image specify the service name in the docker-compose file:
      • For backend: docker-compose build backend
      • For frontend: docker-compose build frontend
  7. The backend and frontend images should start the build

Running the Images

Run the built images by running the following commands, you can also use -d command to start the containers at detach state:

Accessing the Running Images

You can access the frontend with HTTP at the deployed URL and the backend at 8000 port at the deployed URL

MOBILE APPLICATION (ANDROID)

Requirements

Environment

Node

On Windows:

On Mac OS:

brew install node
brew install watchman via Homebrew package manager system

You can look at these web page for any trouble:

To RUN:

  1. yarn or npm install in directory: Columbus/mobile/Columbus
  2. react-native run-android or yarn android

Also You can find APK here: https://github.com/bounswe/2021SpringGroup7/blob/CM-37/Columbus/mobile/app-release.apk You can directly install it to your Mobile Phone or Emulator.