Skip to content
This repository has been archived by the owner. It is now read-only.
Fedora Review Server
Python HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
fresque
.gitignore
.travis.sh
.travis.yml
LICENSE
MANIFEST.in
README.md
alembic.ini
createdb.py
pylintrc
requirements.txt
runserver.py
setup.py

README.md

Build Status

Fresque

Fedora Review Server

Installation

To download the project, open your terminal and type the following command

	$ git clone https://github.com/fedora-infra/fresque.git
	$ cd fresque
	$ python setup.py install

It will clone and install the project on your local machine

Dependencies

Fresque is a Flask application. The review data is stored into a relational database using SQLAlchemy as Object Relational Mapper and alembic to handle database schema changes.

The dependecies can be found in requirements.txt

Running a development instance:

First lets make a seperate virtual environment for the project to avoid conflicts of its dependecy with other python packages. after that install virtualenv wrapper which provides better CLI interface for the virtualenv.

	$ yum install python-virtualenv
	$ yum install python-virtualenvwrapper

Note: If you are using fedora >= 22, use dnf instead of yum

Close and reopen your terminal.

Create a seperate virtualenv for this project.

	// create a virtualenv named fresque
	$ mkvirtualenv fresque
	// if not automatically switched to fresque virtualenv, then type
	$ workon fresque
	// now your bash prompt line will change to
	(fresque) $

Now clone the source:

	$ git clone https://github.com/fedora-infra/fresque.git
	$ cd fresque
	$ pip install -r requirements.txt
	// set up the database before running the server
	$ python createdb.py
	// now start the server
	$ python runserver.py

Thats all now head to http://localhost:5000

Testing

Currently fresque doesn't have any unit tests.

License:

This project is licensed GPLv3+.

You can’t perform that action at this time.