Git Product home page Git Product logo

site.cabsec's Introduction

site.cabsec - Repository for the website

This repository generates the pages on https://www.orgpedia.in/.

Most of this repository is just html pages, if you are looking for data that is presented please check https://github.com/orgpedia/cabsec.

Developer Instructions

If you are interested in changing the code that generates the HTML pages, please follow below instructions

Prerequisites

  • Git
  • Python 3.7+
  • Poetry
  • Node.js

Installation

Git

To install Git, visit the Git website and follow the installation instructions for your operating system.

Python

To install Python, visit the Python website and download the latest version of Python 3.x for your operating system. Follow the installation instructions for your operating system.

Poetry

To install Poetry, visit the Poetry website and follow installation instructions for your operating system:

Node.js

To install Node.js, visit the Node.js website and download the latest version of Node.js for your operating system. Follow the installation instructions for your operating system.

Setup

To setup the project, clone the repository using git (this is a large repository, will take several minutes):

git clone https://github.com/orgpedia/site.cabsec.git

Navigate to the project directory:

cd site.cabsec

Use poetry to install software dependencies:

poetry install --with dev

Install node.js dependencies

npm -ci

Install the data required for this repository

poetry run task import

After this you should have the data and software installed on your machine. The directory structure is as follows

  • import/: This contains all the data that is imported from outside, this primarily contains the cabsec data imported from https://github.com/orgpedia/cabsec

  • flow/: This directory cotains all the code that takes data from import and generates the html pages.

  • export/: This directory contains all the files required for the website (html, js, css and images).

You can start the webserver and explore the site by running the following command

cd export/; 
poetry run python cors-server.py 8500

Build

The repository contains generated html pages, so only if you have made any changes to the code you need to regenerate the pages, otherwise the repository is complete.

For example if you changed the CSS files then you need to do he following

poetry run task flow_genSite;
poetry run task export;

Exeute the command poetry run task list to see the comlete list of options available. All the commands are stored in pyrpoject.toml.

site.cabsec's People

Contributors

mukundesh avatar

Stargazers

 avatar

Watchers

 avatar

site.cabsec's Issues

Improve Search

  • Index Order numbers as well
  • Index Order year so that year: 2016 shows all the orders for that year
  • Support for all 22 languages, see this
  • When nothing matches it should print a proper error message
  • In mobile view clicking the search icon does not trigger search

SEO - Improve SEO of the site

  • Explore SEO content come up with a plan, options include
  • Create a sitemap
  • Add JSON-LD tags
  • Add cross-links from other websites - social media, other places
  • Check google search console

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.