Coder Social home page Coder Social logo

agucova / coins Goto Github PK

View Code? Open in Web Editor NEW

This project forked from annbenavides/coins

0.0 3.0 0.0 25.85 MB

Calculador de compra restringida para el curso [FM307] Innovación y Tecnologia de EdV

License: MIT License

Python 17.12% HTML 7.36% CSS 26.60% JavaScript 48.91%

coins's Introduction

Coins

Administrador de compra y venta restringida para el curso [FM307] Innovación y Tecnologia de EdV Este sitio ha sido desplegado en PythonAnywhere desde Enero 2018 hasta Abril del mismo año

Version 2 (Verano 2018)

Requerimientos

  • Python version 3.4
  • Virtualenv, elementos integrados en env
    • Django 1.8
    • Bootstrap

Instalar Python

En Windows

Puedes descargar desde el sitio de Python una versión superior a 3.4.3 e instalar el archivo .msi. Es importante recordar la ruta en donde se ha insalado Python.

En la segunsa pantalla del asistente, Customize, ve hasta abajo y elige la opción "Add python.exe to the Path" .

En Linux

Desde la terminal:

~$ sudo apt-get install python3.4

Instalar Git

En Windows

Puedes descargar desde el sitio de Git e instalar el archivo .exe. Puedes hacer clic en "Next" para todos los pasos excepto en uno; en el quinto paso titulado "Adjusting your PATH environment", elije "Run Git and associated Unix tools from the Windows command-line" (la última opción). Aparte de eso, los valores por defecto funcionarán bien. "Checkout Windows-style, commit Unix-style line endings" también está bien.

En Linux

Puedes descargar e instalar Git desde el sitio de Git o desde la terminal usa:

# instalar git con dnf
$ sudo dnf install git-all

# instalar git con apt-get
$ sudo apt-get install git-all

Como inicializar

En Windows

#copiar repositorio
~\> git clone https://github.com/AnnBenavides/Coins.git
~\> cd Coins
~\Coins> cd v.2.0

#iniciar el entorno virtual
~\Coins\v.2.0 > env\Scripts\activate
(env) ~\v.2.0>

# ficheros estáticos
(env) ~/v.2.0 $ python manage.py collectstatic
You have requested to collect static files at the destination
location as specified in your settings:
    /home/annbenavides/Coins/v.2.0/static
This will overwrite existing files!
Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: yes

#cargar el modelo
(env) ~\v.2.0> python manage.py makemigrations app
(env) ~\v.2.0> python manage.py migrate

#configurar administrador
(env) ~\v.2.0> python manage.py createsuperuser
Username:
Email address:
Password:
Password (again)
Superuser created succesfully

#correr el proyecto en la direccion local http://127.0.0.1:8000/
(env) ~\v.2.0> python manage.py runserver

En Linux

# copiar repositorio
~/ $ git clone https://github.com/AnnBenavides/Coins.git
$ cd Coins/v.2.0/

# iniciar entorno virtual
~/v.2.0 $ source env/bin/activate
(env) ~/v.2.0 $

# instalar django
(env) ~/v.2.0 $ pip instal django==1.8 whitenoise

# ficheros estáticos
(env) ~/v.2.0 $ python manage.py collectstatic
You have requested to collect static files at the destination
location as specified in your settings:
    /home/annbenavides/Coins/v.2.0/static
This will overwrite existing files!
Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: yes

# cargar modelo
(env) ~/v.2.0 $ python manage.py makemigrations app
(env) ~/v.2.0 $ python manage.py migrate

#correr el proyecto en la direccion local http://127.0.0.1:8000/
(env) ~\v.2.0> python manage.py runserver

coins's People

Contributors

agucova avatar annbenavides avatar mend-bolt-for-github[bot] avatar

Watchers

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