Giter Club home page Giter Club logo

pythonpro-website's Introduction

Python Pro Website

Source code of website www.python.pro.br

Build Status codecov Code Health Updates Python 3

It is been migrated from App Engine using Tekton to Heroky using Django

How to install in locally (supposing you have git and python >= 3.6 installed):

git clone https://github.com/pythonprobr/pythonpro-website.git
cd pythonpro-website
cp contrib/env-sample .env
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt

If you want use SQLite on your dev environment, please remove DATABASE_URL from .env file. Otherwise fill this value with your database credentials.

You can aply migrations to generate database schema:

python manage.py migrate

You can also create a user:

python manage.py createsuperuser

To run server locally (with virtualenv activated):

python manager.py runserver

If you want populate the database with some content run:

python manage.py loaddata pythonpro_contents

To tun the tests:

pytest pythonpro

If you want run your amb dev using postgres, you can install docker and run:

docker run -p 5432:5432 --env POSTGRES_PASSWORD=pass --name pythonpro-postgres -d postgres:9

and add to your .env

DATABASE_URL=postgres://postgres:pass@localhost:5432/postgres

#License Details

The AGPL license here cover everything relate to source code but Python Pro logo and Image. So you need to change this data for you own trademark.

Have fun!

pythonpro-website's People

Contributors

pyup-bot avatar riverfount avatar renzon avatar tiagocordeiro avatar gilsondev avatar

Stargazers

Rodrigo Costa avatar Emerson Fernandes Viana avatar Rafael Dias avatar

Watchers

James Cloos 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.