GithubHelp home page GithubHelp logo

kermox / schronisko_krakow Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 39.21 MB

Website for animal shelter made with django <3

Home Page: http://schroniskokrakow.herokuapp.com/

Python 45.01% HTML 37.00% JavaScript 7.37% SCSS 10.63%
django shelter-animals python aws heroku

schronisko_krakow's Introduction

About project

The idea behind schronisko-krakow website is to prove my programming skills by doing a kind of commercial project from scratch. At the same time I am willing to support a non-profit organizations such as Krakowskie Schronisko dla Bezdomnych Zwierzat. I am sure that modern website will improve the adoption rate for this shelter and provide a better user experience throughout the process.

Alt Text

Technology stack

Back-end:

For the back-end I used python3 together with its framework Django. Celery and Redis handle the asynchronous tasks such as sending an email. Python's requests library is used to make calls to Facebook Grapgh API. Database - PostgreSQL

Front-end:

The front-end part of application is written with HTML5 using django-templates syntax, SASS preprocessor and Bootstrap4 css framework, Jquery and Vanilla Javascript.

Tests:

Some simple unit tests are made with django.test.TestCase class and functional tests are made with Selenium.

Deployment:

The project is deployed on Heroku using hobby-dev subscription. Mediafiles are loaded and served up via an AWS S3 buckets. Staticfiles are server with fantastic Whitenoise.

Instalation

Clone the repo:

git clone https://github.com/kermox/schronisko_krakow.git

Go to project directory where manage.py is located:

cd schronisko_krakow

Create a virtual environment:

  • On macOS and Linux:
python3 -m venv env
  • On Windows:
py -m venv env

activate virtual env:

source env/bin/activate

Install python dependencies:

pip install -r requirements.txt

Install node dependencies:

npm install

Run server:

python manage.py runserver

Activate css compiler:

cd staticfiles
npm run compile:css:watch

Activate celery worker:

celery -A schronisko_krakow worker -l INFO

Contributing

Any contributions you make are greatly appreciated.

  1. Fork the project
  2. Create your Feature Branch (git checkout -b feature/Feature)
  3. Commit your Changes (git commit -m 'Add some Feature')
  4. Push to the Branch (git push origin feature/Feature)
  5. Open a Pull Request

License

Distributed under the MIT License.

Contact

Maksym Garus - Facebook
[email protected]

schronisko_krakow's People

Contributors

kermox avatar

Stargazers

 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.