Coder Social home page Coder Social logo

proyecto-mantenimiento's Introduction

Setup instructions

Backend

  1. Create virtual environment: python3 -m venv myenv
  2. Run virtual environment: source myenv/bin/activate
  3. Install dependencies:
    pip install -r requirements.txt
    Posible error: Error building wheels for packages pip install --upgrade setuptools
  4. Apply migrations: python manage.py migrate
    Possible error: CommandError: Conflicting migrations detected: python manage.py makemigrations --merge
    After the previous command we execute again python manage.py migrate
  5. Run server: python manage.py runserver
    Posible errors in the browser console: Refused to apply style from '127.0.0.1:8000/static/css/main.0c528e6d.chunk.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled,
    GET /static/js/main.d8528d5f.chunk.js net::ERR_ABORTED 404 (Not Found),
    GET /static/js/2.d0132649.chunk.js net::ERR_ABORTED 404 (Not Found),
    And others more related to static files that were not found
    To solve this error enter python manage.py collectstatic

Frontend

  1. Install dependencies: npm install
  2. Run project: npm start

proyecto-mantenimiento's People

Contributors

vianeymartinez201145 avatar

Stargazers

Pablo Rosas Marín avatar

Watchers

Lenin Gael 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.