draculatheme.com
This repo contains the source code for draculatheme.com.
How it works?
We use Next.js, a React framework that does static exporting.
Getting Started
-
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
repopermissions and create a.envfile 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
Deploy
If you're a collaborator, you can publish the site to GitHub Pages by running:
$ npm run deployLicense
MIT License Β© Dracula Theme
