Advertisement
Guest User

.env file

a guest
Feb 24th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.64 KB | None | 0 0
  1. # Location of the *postgres* database. For example, if you have created a
  2. # blank database locally named `cargo_registry`, this would be
  3. # `postgres://postgres@localhost/cargo_registry`.
  4. export DATABASE_URL=
  5.  
  6. # If you are running a mirror of crates.io, uncomment this line.
  7. # export MIRROR=1
  8.  
  9. # Key to sign and encrypt cookies with. Change this to a long, random string
  10. # for production.
  11. export SESSION_KEY=badkey
  12.  
  13. # If you will be running the tests, set this to another database that you
  14. # have created. Otherwise, leave this blank.
  15. export TEST_DATABASE_URL=postgres://postgres:mysecretpassword@localhost:54321/cargo_registry_test
  16.  
  17. # Credentials for uploading packages to S3. You can leave these blank if
  18. # you're not publishing to s3 from your crates.io instance.
  19. # When running `cargo test`, set S3_BUCKET to `alexcrichton-test`.
  20. export S3_BUCKET=alexcrichton-test
  21. export S3_ACCESS_KEY=
  22. export S3_SECRET_KEY=
  23. export S3_REGION=      # not needed if the S3 bucket is in US standard
  24.  
  25. # Remote and local locations of the registry index. You can leave these to
  26. # use a `tmp` subdirectory of the working directory, which is what the
  27. # script in `./script/init-local-index.sh` will set up for you.
  28. export GIT_REPO_URL=file://./tmp/index-bare
  29. export GIT_REPO_CHECKOUT=./tmp/index-co
  30.  
  31. # Credentials for talking to github. You can leave these blank if you're
  32. # not logging into your crates.io instance.
  33. # When registering a new application on github for use with your local
  34. # crates.io instance, be sure to set the callback url for that application
  35. # to the address `http://localhost:4200/authorize/github`.
  36. export GH_CLIENT_ID=
  37. export GH_CLIENT_SECRET=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement