Giter Site home page Giter Site logo

my-fond-pet's Introduction

My Fond Pet

My Fond Pet is a tool that provides some services to the pet public. These services include:

  • Pets adoption collaborative tool.
  • Missing pets disclosure collaborative tool.
  • Marketplace for veterinary services and pet-shops.
  • Adoption information blog.

To generate database

The scripts for databases was made using SQLAlchemy. If you cloned the application for the first time, you must initialize and perform migration of the databases. For each change made in the databases, a migration and upgrade must be performed from the following commands:

$ python3 run.py db init
$ python3 run.py db stamp heads
$ python3 run.py db migrate
$ python3 run.py db upgrade

To execute

If this is your first time running the application, you should create a python virtual environment and install the necessary packages. First of all you have to install virtualenv and then run the commands as follows:

# Install virutalenv on a linux so
$ sudo apt-get install virtualenv

# Create python virtual environment
$ virtualenv -p python3 .venv

# Initiate virtual environment
$ . .venv/bin/activate

# Install the respective application dependence
(.venv)$ .venv/bin/pip3 install -r requirements.txt

After that, you can run the application (make ensure that virtual environment is active) with the following command:

(.venv)$ python3 run.py runserver

my-fond-pet's People

Contributors

bz3r0 avatar

Watchers

 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.