This website is built with HTML, SCSS, JavaScript, and Webpack. It's hosted on GitHub Pages at daniaalnahdi.com.
-
Install Node.js on your machine
-
Install project dependencies
npm install
-
Starts the development server
npm start
-
Creates a production build
npm run build
-
Creates a new production build and deploys
npm run deploy
Remember to change the npm run deploy
script accordingly. If you're hosting on GitHub Pages: if you want to add a custom domain, change the command to npm run build && echo '<YOURDOMAIN.COM>' > ./dist/CNAME && gh-pages -d dist
, which will create the required CNAME file containing your domain in your gh-pages
branch. If you don't have a domain, npm run build && gh-pages -d dist
should suffice.