Code Monkey home page Code Monkey logo

website's Introduction

Website for phpMyAdmin

Django code for phpMyAdmin's website.

https://travis-ci.org/phpmyadmin/website.svg?branch=master https://codecov.io/github/phpmyadmin/website/coverage.svg?branch=master https://api.codacy.com/project/badge/Grade/4cfc116f766947dcad6c006b295aafc2

Requirements

Website needs Python 2.7, additional dependencies are listed in requirements.txt.

Security announcements and news

Edit announcements and news entries in the web UI.

Security issues are not publicly visible as long as they are marked as draft. The are accessible through separate URL (you can click View on the site link while editing).

Page generating

Each page has its own template. For most things it means inclusion of other templates to generate full page.

Menu

Menu is configured in data/menu.py, the first element always means page name second menu item title.

Themes

Themes require additional metadata, which is stored in data/themes.py.

Awards

All awards are listed in data/awards.py.

Screenshots

All screenshots are listed in data/screenshots.py.

Development

For development, first install dependencies. The ones needed for running the server are listed in requirements.txt, for running testsuite in requirements-test.txt. You can install them using your distribution (the package names will usually add python- prefix) or using pip:

pip install -r requirements-test.txt

You will need to apply migrations before loading test data:

./manage.py migrate

You might want to import some data to have at least some content on the website:

./manage.py loaddata pmaweb/fixtures/test_data.json

Once you have all dependencies, you can start development server:

./manage.py runserver

It will listed on port 8080 by default (you can change this by parameters).

To run testuite execute:

./manage.py test

Deployment

Cron jobs:

# Update translation stats
./manage.py fetch_translations
# Update planet posts
./manage.py fetch_planet

File releases scan:

# Import new releases from file storage
./manage.py import_files
# Import new themes from file storage
./manage.py import_themes

License

The website generator is licensed under GNU GPL version 2 or later.

Website itself uses some MIT licensed Javascript libraries:

The website content is licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

website's People

Contributors

nijel avatar lem9 avatar ibennetch avatar ruleant avatar madhuracj avatar helmo avatar williamdes avatar mynetx avatar mauriciofauth avatar zweisteinsoft avatar roccivic avatar kohenkatz avatar atul516 avatar aaleksanyants avatar chanaka avatar d-storm avatar devenbansod avatar hinoue-work avatar robert-scheck avatar annainfo avatar sujeet293 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.