Coder Social home page Coder Social logo

abbra / fas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fedora-infra/fas

0.0 2.0 0.0 17.02 MB

Fedora Account System

Home Page: https://admin.fedoraproject.org/accounts

License: GNU General Public License v2.0

Ruby 0.08% Python 38.51% Mako 0.05% Makefile 0.36% JavaScript 8.20% CSS 15.25% HTML 35.21% PLSQL 0.01% TSQL 2.34%

fas's Introduction

FAS (Fedora Account System) 3.0

Authors: Xavier Lamien
Pierre-yves Chibon
Ricky Elrod
Contacts:[email protected]

The Fedora Account System is a community oriented accounts system which aims to provide a self-driven and self-controled management to its registered users.

FAS has been tested on Python 2.6 and 2.7 only at this time.

FAS can be installed as follows:

% python setup.py install

If necessary, the --install-data option can be used to configure the location in which the resources (res) and example· files (docs) should be installed.

Note

work in progress

If you want to enable fonts that match with Fedora logo usage guideline:

If you are running a Fedora or RedHat/CentOs's OS, here are dependencies' packages to install:

% sudo dnf install -y python-virtualenvwrapper libffi-devel openssl-devel \
        GeoIP-devel libyaml-devel redhat-rpm-config libjpeg-turbo-devel

Add the following to your ~/.zshrc or ~/.bashrc:

% export WORKON_HOME=$HOME/.virtualenvs
% source /usr/bin/virtualenvwrapper.sh

and reload your shell by sourcing its rc's file or closing and opening your terminal back up.

And if you want to use system fonts:

% sudo dnf install -y aajohan-comfortaa-fonts abattis-cantarell-fonts

Then run the boostrap helper script:

% ./bootstrap.py

And finally, load the virtualenv created:

% workon fas-python2.7

% fas-admin -c development.ini --initdb --default-value

% python setup.py test

% fas-admin -c development.ini --generate-fake-data -n 1200

% pserve development.ini --reload

Quickly start hacking on FAS3 using the vagrant setup that is included in the FAS3 repo is super simple.

First, install Vagrant, the vagrant-sshfs plugin, and the vagrant-libvirt plugin from the official Fedora repos:

sudo dnf install vagrant vagrant-libvirt vagrant-sshfs

Now, from within main directory (the one with the Vagrantfile in it) of your git checkout of FAS3, run the vagrant up command to provision your dev environment:

vagrant up

When this command is completed (it may take a while) run the following command to start the FAS3 server on the vagrant virtual machine:

vagrant ssh -c 'pushd /vagrant/; pserve /home/vagrant/development.ini --reload'

Once that is running, simply go to http://localhost:5002/ in your browser on your host to see your running FAS3 test instance.

fas's People

Contributors

abadger avatar cverna avatar cydrobolt avatar dapidc avatar diegobz avatar jcollie avatar jds2001 avatar kiwnix avatar kylerichardson avatar laxathom avatar lbazan avatar lieb avatar lmacken avatar mostafadaneshvar avatar nbebout avatar piotrdrag avatar puiterwijk avatar pypingou avatar ralphbean avatar rbuj avatar relrod avatar rickyz avatar ryanlerch avatar sijis avatar skrzepto avatar stickster avatar supeti avatar tiansworld avatar tyll avatar xsuchy 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.