GithubHelp home page GithubHelp logo

thinkflash_app's Introduction

ThinkFlash_APP

To start the Frontend development, you must have npm installed ($ npm install) and run: $ npm run dev (All of this should be done from the corresponding folder: ThinkFlash-FrontEnd).

Also, make sure to install the ReactRouter library: $ npm install react-router-dom

To start the Backend, follow these steps:

  1. Install/update all packages specified in Pipfile: $ pipenv install
  2. Launch the backend: $ pipenv run start (Check Pipfile [scripts] for details).
  3. To create the admin and manage the database:
    1. Install the VSCode extension: "Database Client"
    2. Open the extension, choose SQLite, and set the SQLite DB Path to: /workspaces/ThinkFlash_APP/ThinkFlash-BackEnd/src/instance/project.sqlite
  4. Initialize the database: $ pipenv run flask db init (This creates the 'instance' folder inside 'src', where the 'project.sqlite' database file and 'migrations' folder are located).
  5. Run migrations: $ pipenv run migrate (see Pipfile [scripts] for more details, you can add a message as a comment if needed, e.g., $ pipenv run flask migrate -m "message").
  6. Apply migrations: $ pipenv run upgrade (This makes the modifications effective, see Pipfile [scripts] for more details).
  7. To reset the database and to load the testing data: $ pipenv run reset_db

VARIABLES DE ENTORNO: FRONT_URL URL= CLOUDINARY_CLOUD_NAME= CLOUDINARY_API_KEY= CLOUDINARY_API_SECRET= EMAIL= PASSWORD=

PARA EL DEPLOY: pipenv install && pipenv run start && cd Front && npm install && npm run build

thinkflash_app's People

Contributors

raauul1996 avatar noesersi avatar bruizpalen avatar rinconeuro avatar

Stargazers

Sandra Madarnas avatar  avatar  avatar  avatar  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.