Code Monkey home page Code Monkey logo

SpisTresci.pl

SpisTresci.pl to wyszukiwarka i porównywarka ebooków, audiobooków i książek tradycyjnych.

Wymagania Systemowe

  • system linux (przetestowane na: Ubuntu 12.04/14.04, Debian 6/7)

Pobieranie źródeł

mkdir ~/devel
git clone [email protected]:/var/git/spistresci_frontend.git spistresci

Pakiety sytemowe

Spis potrzebnych pakietów systemowych znajduje się w pliku requirements.apt. Instalację można wywołać poprzez:

cd ~/devel/spistresci/
sudo apt-get -y install $(grep -vE "^\s*#" requirements.apt  | tr "\n" " ")

Tworzenie Wirtualnego Środowiska

Najpierw należy wyedytować plik ~/.bashrc dodając na jego końcu poniższe 3 linijki:

export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/devel
source /usr/local/bin/virtualenvwrapper.sh

Po zapisaniu pliku, by zmiany od razu wczytać, należy wykonać:

source ~/.bashrc

By w przyszłości korzystając z polecenia workon od razu przechodzić do katalogu projektu, należy wyedytować plik ~/.virtualenvs/postactivate dodając do niego:

PROJECT_NAME=$(echo $VIRTUAL_ENV|awk -F'/' '{print $NF}')
cd $PROJECT_HOME/$PROJECT_NAME

następnie w końcu wykonujemy polecenie:

mkproject spistresci

Pakiety Pythonowe

workon spistresci
pip install -r requirements.pip

Pierwsza konfiguracja

./manage.py syncdb
sass --update spistresci/static/scss/:spistresci/static/css/

Ściągnięcie i konfiguracja lokalnej wersji Solr'a

./manage.py downloadsolr
./manage.py configuresolr

Uruchomienie

./manage.py runserver

spistresci's Projects

django-uwsgi-nginx icon django-uwsgi-nginx

Dockerfile and configuration files to build a working Django container with uwsgi and nginx

dockup icon dockup

Docker image to backup/restore your Docker container volumes to AWS S3

graphics icon graphics

Official SpisTresci.pl logo and wordmark

mezzanine icon mezzanine

A content management platform built using the Django framework.

nginx-proxy icon nginx-proxy

Automated nginx proxy for Docker containers using docker-gen

pyliczba icon pyliczba

Python - convert numbers to words in polish / Python - liczba słownie (kwota słownie)

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.