Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

amiunlocked Website

The website counterpart to the amiunlocked program.

Environment Variables

The website build process requires certain environment variables in order to run.

Key Required Description
TITLE Yes Title of your website
KVDB_URL Yes The kvdb url value set in the program's "Configure program" step

Build the site locally

Run the following commands to install dependencies and configure environment variables.

cd website
npm install
touch .env

The contents of your .env file should look like this:

TITLE=<website title>
KVDB_URL=<kvdb url>

Lastly, build your site and serve it:

npm start

You can also trigger a production build:

npm run build

Deploy to Netlify

You can deploy the site directly to Netlify.

Deploy to Netlify