Skip to content

vikramahuja1001/portal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Systers Portal Project Build Status Coverage Status Gitter

Systers Portal is for Systers communities to post and share information within and with other communities.

Our project page >> http://systers.github.io/portal/

More information on technical architecture of this project coming soon...

Setup for developers

  1. Make sure you have installed Python 2.7 or above (preferably latest minor release), pip and virtualenv.
  2. Make sure you have PostgreSQL installed.
  3. Clone the repo - git clone git@github.com:systers/portal.git and cd into the portal directory.
  4. Create a virtual environment and install dependencies:
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements/dev.txt
  1. Create systersdb database, where systersdb might be any suitable name.
  2. Fill in the database details in systers_portal/settings/dev.py.
  3. Run export SECRET_KEY=foobarbaz in your terminal, ideally the secret key should be 40 characters long, unique and unpredictable. Optionally to set the shell variable every time you activate the virtualenv, edit venv/bin/activate and add to the bottom the export statement.
  4. Run python systers_portal/manage.py migrate.
  5. Run python systers_portal/manage.py createsuperuser to create a superuser for the admin panel. Fill in the details asked.
  6. Run python systers_portal/manage.py runserver to start the development server. When in testing or production, feed the respective settings file from the command line, e.g. for
    testing python manage.py runserver --settings=systers_portal.settings.testing
  7. Before commiting run flake8 systers_portal and fix PEP8 warnings
  8. Run python systers_portal/manage.py test --settings=systers_portal.settings.testing to run all the tests

Documentation

Documentation for Systers Portal is generated using Sphinx and available online at http://systers-portal.readthedocs.org/

To build the documentation locally run:

$ cd docs/
$ make html

To view the documentation open the generated index.html file in browser - docs/_build/html/index.html.

For more information on semantics and builds, please refer to the Sphinx official documentation.

You can view the requirements document here.

About

Systers Portal for communities

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 92.4%
  • Makefile 3.1%
  • Shell 3.0%
  • CSS 1.5%