Coder Social home page Coder Social logo

kaushalrijal / pythonnepal.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pythonnepal/pythonnepal.github.io

0.0 0.0 0.0 7.86 MB

Website for Python Users Group Nepal.

Home Page: http://pythonnepal.org

License: MIT License

CSS 15.60% Python 84.40%

pythonnepal.github.io's Introduction

Python Users Group Nepal Website Build Status

This repository is for the Python User Group Nepal's website. The site is built-up using Pelican, a static site generator, powered by Python. The site's theme is based on Pure Pelican Theme.

Find us :

Setup for local development

Please use the source branch for making changes. The changes are reflected automatically to master by travis build

  • Fork repo

    Fork the repository to your account so that you have your copy of the website.

  • Clone repository

      $ git clone --recursive [email protected]:<your-username>/pythonnepal.github.io.git pynepal-website
    

This will clone the repository on to your system and clone the submodules inside it as well recursively. Additionally, the folder to which it will be cloned to is called pynepal-website.

  • Set up a virtual env in that folder and activate it

      $ cd <repo>
      $ virtualenv venv
      $ source venv/bin/activate
    
  • Install the requirements using pip from inside the virtual environment

      (venv)$ pip install -r requirements.txt
    
  • Start the server

      fab serve
    
  • Visit local site

    Open up your web browser and point it to http://localhost:8000 to see the site running locally. Yay!

Blog Workflow

If you're interested in writing a blog post for the website, you need to follow the given steps below:

  • Fork the repository
  • Write a blog post using Markdown in the content directory
  • Push the changes to a topic branch, like an-example-article, on your fork of the repository
  • Make a pull request against the master branch.

Deployment

We use Fabric for automating the tasks and deployment. Type fab --list to see the available commands.

Available commands:

    build       Build local version of site
    clean       Remove generated files
    preview     Build production version of site
    publish     Push the generated html to master branch on GitHub.     
    rebuild     `clean` then `build`
    regenerate  Automatically regenerate site upon file modification
    reserve     `build`, then `serve`
    serve

Contributing

See CONTRIBUTING.md

If you're a python developer from Nepal, you can add yourself to website. To do that,

  • Fork the reposiroty
  • Edit the file present at content/pages/developers.md. The format is Markdown.
  • Send us a pull request

pythonnepal.github.io's People

Contributors

3sarojbhattarai avatar aju100 avatar amitness avatar anishghimire603 avatar basnetsoyuj avatar code-geek avatar cyberkishor avatar dependabot[bot] avatar dhirajshah04 avatar geekyarthurs avatar hemanta212 avatar iampujan avatar kaflesudip avatar kiranshahi avatar lohanidamodar avatar mandeepkhatry avatar nkandel avatar prajinkhadka avatar rabirajkhadka avatar rhoit avatar rupakkarki27 avatar s2krish avatar sandipbgt avatar santoshpy avatar shitalluitel avatar sijanonly avatar summitstha avatar swarnimpandey avatar tuxsisir avatar utsavratna 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.