GithubHelp home page GithubHelp logo

jgiron42 / friends42 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wow0000/friends42

0.0 0.0 0.0 6.33 MB

Home Page: https://friends42.fr

License: MIT License

JavaScript 46.95% Python 28.54% CSS 0.86% HTML 23.65%

friends42's Introduction

Friends42

Developer quick-start

You'll need the followings:

  • Python 3
  • Redis
  • 42 API key
  • Telegram key [optional]
git clone [email protected]:wow0000/friends42.git && cd friends42
pip install -r requirements.txt
vim config.py
python3 app.py

Then head to http://localhost:8080/ (You will need to add this URL to the authorized list of redirect URI on 42)

How to add a feature

  • Create your feature
    • You'll need to use basic features (no flask.g, middleware, etc) and adapt to the existing code style if possible.
    • If you are doing SQL, you must place it in the db.py file, it is forbidden to concat/str template anything to a SQL request
  • Create a push request with in it a list of features added, config changed and sql changes.
  • Post it ! :)
  • Note: I keep the right to accept or reject features, you can contact me through Discord if you'd like to be sure before doing the work

How to add a campus

  • Copy maps/_template.py to maps/campus_name.py
  • Create a map of your own campus (Feel free to look at paris.py)
  • Add your campus to maps/maps.py as an import and to the list (the number is the campus-id) (located end of file)
  • Add your campus to the update list in config.py
  • Create a push request with your changes and I'll come back to you quickly ! :)

friends42's People

Contributors

wow0000 avatar neoblacks avatar jgiron42 avatar imhoppy 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.