Skip to content
/ naovoce Public
forked from jsmesami/naovoce

Na ovoce aims to become a web community platform that maps fruit trees, fruit bushes and herbs in wild and public spaces.

License

Notifications You must be signed in to change notification settings

2046cz/naovoce

 
 

Repository files navigation

Na-ovoce.cz

Na ovoce aims to become a web community platform that maps fruit trees, fruit bushes and herbs in wild and public spaces. At the same time its activities increase awareness of traditional varieties among the general public and contribute to their retention in the landscape. For more info please visit About Us.

Installation

Prerequisities:

  • Python3.4+
  • PostgreSQL 9+
  • CoffeeScript
  • Less
  • Bower

Very basic local installation without Node (and no root privileges):

# Create and activate virtualenv with the latest Python 3 you have.
mkdir ~/.env
python3[.5] -m venv ~/.env/naovoce
source ~/.env/naovoce/bin/activate

# Upgrade pip.
pip install --upgrade pip

# Install Node prerequisities into your virtualenv.
pip install nodeenv
nodeenv -p --prebuilt
npm install -g coffee-script less bower

# Install site and dependencies.
git clone https://github.com/jsmesami/naovoce.git
cd naovoce
pip install -r requirements.txt [-b ~/tmp]
bower install

# Create and edit local settings to match your setup. 
cd src
cp naovoce/settings/local_[deploy|devel]_example.py naovoce/settings/local.py
vim naovoce/settings/local.py

# Prepare database and load initial data.
# If your DB user is not superuser, you my have to install HStore extension by hand
# in case it does not exist yet: CREATE EXTENSION IF NOT EXISTS hstore;
chmod u+x manage.py
./manage.py migrate
./manage.py loaddata naovoce/fixtures/sites.json
./manage.py loaddata fruit/fixtures/kinds.json
./manage.py loaddata staticpage/fixtures/staticpages.json
./manage.py createsuperuser
./manage.py collectstatic

About

Na ovoce aims to become a web community platform that maps fruit trees, fruit bushes and herbs in wild and public spaces.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 63.7%
  • HTML 29.1%
  • CSS 6.0%
  • CoffeeScript 1.2%