Giter Club home page Giter Club logo

crypto's Introduction

Requisitos

  • PHP 8.0
  • Apache 2.4.51 +-
  • MySQL 8.0
  • Composer 2

Instalación

# Creamos la base de datos
mysql -e 'CREATE DATABASE `crypto` character set UTF8mb4 collate utf8mb4_bin;'

# Clonamos el repositorio
git clone https://github.com/eusonlito/crypto.git

cd crypto

# Duplicamos la configuración genérica como .env
cp .env.example .env

# Editamos los datos necesarios para la instalación local
vi .env

# Instalamos las dependencias
composer install --no-scripts --no-dev && composer install --no-dev

# Generamos la clave de cifrado
php artisan key:generate

# Lanzamos las migraciones
php artisan migrate
php artisan db:seed --class=Database\\Seeders\\Database

# Desplegamos
composer artisan-cache

Carga de datos inicial

php artisan currency:sync:all
php artisan product:sync:all
php artisan product:fiat:all
php artisan exchange:sync:all

Procesos en background

nohup php artisan schedule:work > storage/logs/schedule-work.log 2>&1 &
nohup php artisan exchange:sync:socket --platform_id=1 > storage/logs/exchange-sync-socket.log 2>&1 &
nohup php artisan exchange:ticker:socket --platform_id=2 > storage/logs/exchange-ticker-socket.log 2>&1 &

Actualización

composer deploy

Capturas

crypto-1 crypto-2 crypto-3 crypto-4 crypto-5 crypto-6

Listo!

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.