Coder Social home page Coder Social logo

sondr3 / racket-lang-org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from racket/racket-lang-org

0.0 2.0 0.0 76.81 MB

License: Other

Racket 81.22% HTML 0.08% Pascal 13.76% Perl 4.07% CSS 0.45% Puppet 0.03% OpenEdge ABL 0.38% JavaScript 0.02%

racket-lang-org's Introduction

racket-lang-org

This the source for the Racket package: "racket-lang-org".

Sources:

  • www: actual content of main site.

  • blog: actual content of blog.

  • download: content of download site (only installer pages and such)

  • */all.rkt: files that just require all the necessary modules to build the whole site or sub-sites

  • */resources.rkt: files that define the resources for a site (icon, css, logo)

  • minis: smaller one-source-file sites

  • stubs: template "sites" that are intended to be hooked into other systems to get the racket look.

To build:

[See "upload" and --dry-run for an alternative]

  • Run "racket all.rkt -o

    " to build all pages to subdirectories of

    . As a safety measure, the target directory must not overlap with any installed directory. (Use `-f' in scripts to avoid answering the question about deleting existing files.)
  • Running any "*.rkt" might build a page and things that it references. (Use -h as usual.) That's less true for newer pages.

  • For older pages, you can choose -w (the default) for web mode, -l for local using "file://" references, or -r for' local mode using relative references. Normally, you'll want to use -l for testing, and then use -w for deployment.

  • Set the $GIT_DIR environment variable to point to the ".git" directory of a Racket repository if you want to extract release information from a repository other than the enclosing one.

To upload:

  • You'll need credentials to upload to S3, and those credentials should be in "~/.aws-keys".

  • You'll need the "s3-sync" Racket package installed.

  • Run the "sync.rkt" script: racket -l- racket-lang-org/sync

  • To build without uploading, use --save-temps --render-locally <directory-name>. If you don't have AWS credentials, the pages will still build, and look for "Files so far written to" for the temporary directory that contains the rendered pages.

Contributing

Contribute to Racket by submitting a pull request, reporting an issue, joining the development mailing list, or visiting the IRC or Slack channels.

License

Racket, including these packages, is free software, see LICENSE for more details.

By making a contribution, you are agreeing that your contribution is licensed under the Apache 2.0 license and the MIT license.

racket-lang-org's People

Contributors

stamourv avatar elibarzilay avatar mflatt avatar mbutterick avatar samth avatar jeapostrophe avatar mfelleisen avatar jbclements avatar rmculpepper avatar bennn avatar stchang avatar spdegabrielle avatar leifandersen avatar rfindler avatar takikawa avatar jackfirth avatar winny- avatar liberalartist avatar aidalgol avatar alexknauth avatar lexi-lambda avatar avelino avatar dyoo avatar erikdsi avatar gmarceau avatar jturner avatar kisaragi-hiu avatar michaelmmacleod avatar samb avatar sondr3 avatar

Watchers

 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.