Coder Social home page Coder Social logo

stadium-hub-api's Introduction

✨ Stadium Hub Api

Environments

Installation

System requirements

  • Docker

Local docker installation:

  • (Step 1) -> Clone project
git clone -b develop https://github.com/rafatga/stadium-hub-api
  • (Step 2) -> host config
[mac] -> /etc/hosts
[ubuntu] -> /etc/hosts
[windows] -> C:\Windows\system32\drivers\etc\hosts

127.0.0.1       api.stadium-hub.loc
  • (Step 3) -> Build docker image
make bootup
  • (Step 4) -> Database config (make sure this match .env variables)
Host: 127.0.0.1
Database: stadium-hub-api
Username: boss
Password: root
Port: 3307

Starting Project (Without traefik proxy)

[1] Start project

make start

[2] Stop project

make stop

Deploy

  • This is an example of how I usually deploy my php projects
    • (Step 1)
Configure Configure SSH Key-Based Authentication on your server
example -> https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server
  • (Step 2)
Merge develop into main branch
  • (Step 3)
run command in your local machine
make deploy

TODO

  • Add CI/CD with GitHub Actions
  • Config PhpStorm debugger

stadium-hub-api's People

Contributors

rafatga 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.