Skip to content
/ pagecrypt Public template

PageCrypt example on Render

License

Notifications You must be signed in to change notification settings

render-examples/pagecrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PageCrypt Example on Render

This project is a static site that demonstates using PageCrypt to password protect the site.

An example deployment of this repository is at https://pagecrypt.onrender.com. Use the password s3cr3t to view it.

Deployment

See the blog post that uses this repository or follow the steps below:

  1. Create a new repository from this template repository.
  2. Create a new static site on Render from that repository using the following values:
  • Build Command: yarn && yarn run build
  • Publish directory: dist
  • Advanced ➡️ Add Environment Variable ➡️ Create an environment variable named PASSWORD. Its value will be used to encrypt your site and used by visitors to decrypt and view the site.

That's it! Your static site will be live on your Render URL as soon as the build finishes.

About

PageCrypt example on Render

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published