Git Product home page Git Product logo

marvelsdb's Introduction

MarvelsDB

Very quick guide on how to install a local copy

This guide assumes you know how to use the command-line and that your machine has php 7.4 and mysql 8 installed.

  • install composer: https://getcomposer.org/download/
  • git clone the repo and cd to it
  • run composer install (at the end it will ask for the database configuration parameters)
  • if composer install fails with version issues, you may need to run composer self-update --1 to downgrade to composer version 1
  • run php bin/console doctrine:database:create to create the database.
  • run php bin/console doctrine:schema:create to create the database schema.
  • git clone the card data from https://github.com/zzorba/marvelsdb-json-data
  • run php bin/console app:import:std path-to-marvelsdb-json-data/ pointing to where you cloned the json data (can be a relative path)
  • run php bin/console server:run

Additional useful commands.

  • run composer install to rebuild minified JS files after making changes to the raw files.
  • run php bin/console doctrine:schema:update --dump-sql to view database schema changes.
  • run php bin/console doctrine:schema:update --force to execute database schema changes.

marvelsdb's People

Contributors

kamalisk avatar s3rek avatar jordanweiler avatar zzorba avatar alberto-bottarini avatar fafranco82 avatar toopick avatar cmaher 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.