GithubHelp home page GithubHelp logo

sitedata / metacranweb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metacran/metacranweb

0.0 2.0 0.0 8.37 MB

Web pages for metacran

Home Page: http://www.r-pkg.org

JavaScript 54.69% CSS 4.75% HTML 40.57%

metacranweb's Introduction

METACRAN

This is the Express application for the main METACRAN website at http://www.r-pkg.org

Contributions

Yes, please! METACRAN is developed completely in the open. All code and files are on GitHub at https://github.com/metacran.

Bug reports, code, design, ideas, any and all feedback are welcome.

Run it locally

  1. Install node.js. io.js might work, too, although it is currently not tested.

  2. Clone the repo, install needed npm packages:

    git clone https://github.com/metacran/metacranweb
      cd metacranweb
      npm install
    
  3. Start a local redis instance, for example with Docker:

    docker run --name metacran-redis -p 6379:6379 redis redis-server
    

    Alternatively you can configure an exising redis server with the environment variables REDIS_HOST (default: '127.0.0.1') and REDIS_PORT (default: 6379)

  4. Start the app:

    PORT=3000 bin/www
    
  5. Go to http://localhost:3000 in your browser.

Tips:

  • Use supervisor or a similar program to watch for changes.
  • Set the GH_TOKEN environment variable to your personal GitHub access token to avoid the GitHub API rate limits.
  • Set the NODE_ENV environment variable to development to get stacktraces in error messages.
  • Set the DEBUG environment variable to web to get server-side debug messages.

Bits and pieces

Technology used in the app itself:

Plus several smaller packages, see package.json.

We connect to various database backends, via HTTP(S):

  • crandb A CouchDB database of CRAN package metadata.
  • cranlogs CRAN download data from the RStudio mirror. A PostgreSQL database with a HTTP API.
  • seer An elasticsearch database of CRAN package metadata.
  • docs A CouchDB database of various CRAN package documentation: READMEs, NEWS files, CRAN Task Views, etc. This does not have a public API.

License

MIT © 2015 Gabor Csardi and contributors

metacranweb's People

Contributors

gaborcsardi avatar nuest avatar dirkschumacher avatar tappek avatar

Watchers

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