Coder Social home page Coder Social logo

edgeerrol87 / cloud_mu_online Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kagayakashi/cloud_mu_online

0.0 0.0 0.0 149 KB

This is remake of MU online as browser game

License: MIT License

Shell 0.28% JavaScript 1.84% Ruby 71.41% CSS 1.05% HTML 22.69% Dockerfile 2.73%

cloud_mu_online's Introduction

README

This README provides instructions for setting up and running the application.

Things you may want to cover:

  • System dependencies

This project is designed to be compatible with standard Oracle Linux 9.3 packages and repositories. We are committed to supporting the latest versions of Oracle Linux to the best of our ability. Any updates to the project will ensure compatibility with the newest releases of Oracle Linux.

While Oracle Linux is the recommended environment, you have the flexibility to use any Linux distribution according to your preferences.

  • Ruby version ruby 3.1.2p20

  • Bundle version bundle-2.3.7

  • System configuration

System update and install needed instruments:

sudo dnf update
sudo dnf config-manager --enable ol9_codeready_builder
sudo dnf install git make gcc curl nano ruby ruby-devel libyaml-devel

Install redis

sudo dnf install redis
sudo systemctl start redis
sudp systemctl enable redis

If used with WSL2, need to enable systemd:

sudo nano /etc/wsl.conf

Write there

[boot]
systemd=true

Install MySQL

sudo dnf install sqlite-devel mysql-server mysql-devel
sudo systemctl start mysqld
sudp systemctl enable mysqld
sudo mysql_secure_installation

Need to create MySQL user

mysql -u root -p
CREATE USER 'dbadmin'@'localhost' IDENTIFIED BY 'dbpassword';
GRANT ALL PRIVILEGES ON *.* TO 'dbadmin'@'localhost';

Configure ENV variables for sidekiq admin panel and restart shell

export SIDEKIQ_USERNAME="admin"
export SIDEKIQ_PASSWORD="admin"

Install project

git clone https://github.com/Kagayakashi/cloud_mu_online.git
cd cloud_mu_online/
bundle config set --local path 'vendor/bundle'
bundle install
  • Create project database
bin/rails db:create
  • Install database migrations
bin/rails db:migrate
  • Insert initial data into database
bin/rails db:seed
  • How to run the application
bin/rails s
  • How to run the test suite
bin/rails test
  • Services (job queues, cache servers, search engines, etc.) Start background job runner Sidekiq
bundle exec sidekiq
  • ...

cloud_mu_online's People

Contributors

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