This repo contains the source code for draculatheme.com.
We use Next.js, a React framework that does static exporting.
-
Install NodeJS, if you don't have it yet.
-
Now clone this repository:
$ git clone https://github.com/dracula/draculatheme.com.git
-
Then go to the project's folder:
$ cd draculatheme.com
-
Install all dependencies:
$ npm install
-
Generate a GitHub Personal Access Token with
repo
permissions and create a.env
file containing this variable.GITHUB_PERSONAL_ACCESS_TOKEN=cdf5fa84cc07c2ea66fae8f2140118c9e9fa4f55
-
And finally run:
$ npm run dev
Now you can see the website running in localhost:3000
:D
If you're a collaborator, you can publish the site to GitHub Pages by running:
$ npm run deploy
MIT License © Dracula Theme