Giter Site home page Giter Site logo

algobook / algobook Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 10.0 1.64 MB

๐Ÿ“– A curated book of Algorithms

Home Page: http://algobook.net

License: Apache License 2.0

Python 1.81% Ruby 0.05% PowerShell 0.02% JavaScript 87.07% HTML 4.55% CSS 5.68% Makefile 0.29% Shell 0.07% Groovy 0.07% Scheme 0.03% TypeScript 0.34%
django python

algobook's Introduction

algoBook

Build Status Heroku

Objective: To Develop a community based platform where people can learn and share algorithms of any language and platform.

algoBook is focused to curated list of algorithms, solutions and their explanations on the basis of community feedback. It is an open platform for users to come and submit solutions to various algorithms in any language and of any platform.

Installation

Steps

Make sure you have the dependencies mentioned above installed before proceeding further.

  • Step 0 - Clone the algoBook/algoBook repository (from the development branch) and cd into the directory.
git clone -b development https://github.com/algobook/algobook.git
cd algobook
  • Step 1 - Install python requirements. You need to be present into the root directoryt of the project.
sudo -H pip install -r requirements.txt
  • Step 2 - Algobook expect two enviroment variables for sending email. You can set them to dummy for testing.
 export DJANGO_EMAIL='dummy'
 export DJANGO_EMAIL_PASSWORD='dummy'
  • Step 3 - Run Migration, create database
python manage.py migrate
  • Step 4 - Install bower and frontend requirements. For this you need to be present in the root directory of the project. The root directory contains the file bower.json. When you write bower install, it finds bower.json and installs the libraries on the system.
npm install bower -g
bower install

if error

sudo npm install bower -g
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo bower install

for mac user:

sudo npm install bower -g
bower install

run app

python manage.py runserver

Mozilla Community Participation Guidelines

algobook's People

Contributors

anonymous26 avatar gomgam avatar jainaman224 avatar poush avatar tabs16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

algobook's Issues

Add unittest support with nose2

Please look into library https://github.com/nose-devs/nose2

  1. We need to implement unit testing in our Django application.
  2. This is a parent issue. Child issue can be created if you creating specific part of unit testing

What should be covered in them:
We need to make sure we are getting correct views
Correct search results
correct error pages

Link sitemap to home page

Create a footer section with just small text in the bottom of home page. This section will be used to add footer links.

And then add following links:
Sitemap - /sitemap.xml

Create Sitemap for Code Model

Currently, we have sitemap only for Algos. We need Sitemap for Code Model as well. Please look last commits to see how sitemap is implemented.

Convention to follow:

Priority: 1
Url: /code/int:id/<create_slug_from_title>
Updated: daily

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.