GithubHelp home page GithubHelp logo

leosery / flight-simulator--api-2021 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 26 KB

API for our flight simulator made on Unity3D for a course project.

Home Page: https://www.leosery.com/Projects/flight-simulator

License: GNU Affero General Public License v3.0

C# 100.00%
3d api-server c-sharp dot-net flight-simulation game unity3d

flight-simulator--api-2021's Introduction

Infra project - Flight simulator API

project made with @Tractorou24 and @Tartoo for the end of year project during the bachelor year 2 (2021/2022).

Summary :

  • Presentation
  • How to open the project
  • How to run the project
  • How to run the Unit tests
  • How to automatically deploy the solution

Presentation :

This project is based on our development project for our end of bachelor 2 at Ynov.

This project is a solution to set up an API accessible directly from the game, allowing access for example to our list of planes or to the results of the matches made in the game.

The project contains:

  • An API accessible by URL.
  • A GitHub pull request system.
  • A Linter commit for GitHub.
  • A CICD system integrated into the project.
  • Unit tests.
  • An automatic deployment system with GitHub secrets.

How to open the project :

1 - Clone the git repository to your computer with the following command :

git clone [email protected]:LeoSery/Flight-Simulator-Unity3D.git

or

git clone https://github.com/LeoSery/Flight-Simulator-Unity3D.git

2 - Open the solution with Visual Studio 2022.

How to run the project :

dotnet run

or click on "Local Windows Debugger" button in Visual Studio.

How to run the Unit tests :

dotnet test

or use the "Test Explorer" in Visual Studio.

How to automatically deploy the solution :

  1. Fork the GitHub repository.

  2. Setup the GitHub secrets :

    • APP_SETTINGS_FILE : appsetting.json > database creditencials
    • REMOTE_HOST : Server IP or Domain name
    • REMOTE_PORT : Server SSH port
    • REMOTE_SSH_KEY : Private Key for server access.
    • REMOTE_TARGET : API files folder
    • REMOTE_USER : SSH User
  3. Add the "fsapi" service to execute dotnet run FlightSimulator.dll inside the remote target.

  4. Setup Apache reverse proxy in port 5000.

flight-simulator--api-2021's People

Contributors

leosery avatar tractorou24 avatar

Stargazers

 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.