Giter VIP home page Giter VIP logo

flygon-admin's Introduction

Flygon Admin

Discord

Pre Requisites

  1. Go 1.20
  2. Node 18
  3. Yarn 1.22
  4. Flygon
  5. Golbat (Optional)

Standard Setup

  1. Clone Repo

    git clone https://github.com/UnownHash/Flygon-Admin.git
  2. Change Directory to the Repo

    cd Flygon-Admin
  3. Create the config file

    cp config.toml.example config.toml
  4. Fill out the config file

    nano config.toml
  5. Install dependencies

    yarn install
  6. Compile the client and server

    yarn build
  7. Run

    yarn start

Updating

  1. Pull repo

    git pull
  2. Repeat steps 5-7 from the standard setup

PM2 Setup

  1. Install PM2

    npm install pm2 -g
  2. Follow steps 1-6 from the standard setup

  3. From the root directory, add to PM2:

    pm2 start "yarn start" --name "Flygon-Admin"
  4. Save PM2 processes

    pm2 save

Updating

  1. Follow steps 5-6 from the standard setup

  2. Restart PM2 process

    pm2 restart Flygon-Admin

Docker Setup

  1. Clone Repo

    git clone https://github.com/UnownHash/Flygon-Admin.git
  2. Change Directory to the Repo

    cd Flygon-Admin
  3. Copy docker-compose file

    cp docker-compose.yml docker-compose.override.yml
  4. Fill out the docker-compose.override.yml file, not the docker-compose.yml file

    nano docker-compose.override.yml
  5. Run docker-compose

    docker-compose up -d

Updating

docker-compose pull
docker-compose down
docker-compose up -d

Development

Pre Requisites

  1. Same as above
  2. gow (Recommended)

Run the client in dev mode with hot reloading

yarn install
yarn dev

flygon-admin's People

Contributors

turtiesocks avatar clburlison avatar fabio1988 avatar dependabot[bot] avatar pegasy 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.