Giter Club home page Giter Club logo

racket-lang-org's Introduction

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 <dir>" to build all pages to subdirectories of
  <dir>. 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.

racket-lang-org's People

Contributors

stamourv avatar elibarzilay avatar mflatt avatar mbutterick avatar samth avatar mfelleisen avatar jeapostrophe avatar rmculpepper avatar bennn avatar jbclements avatar stchang avatar spdegabrielle avatar rfindler avatar leifandersen avatar takikawa avatar jackfirth avatar alexknauth avatar lexi-lambda avatar avelino avatar dyoo avatar erikdsi avatar gmarceau avatar jturner avatar samb avatar sondr3 avatar tumdum 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.