Code Monkey home page Code Monkey logo

ngansequitur creative studio website

design + art portfolio website using next.js, typescript, eslint, scss, and hosting with vercel

setup + installation for macOS

before installing next.js, make sure you have your dev environment set up correctly. there are a few system requirements, such as node.js v16.4 or later

dev environment + system requirements

before installing node.js, you'll need to make sure you have xcode command line tools (an integrated dev environment (IDE) comprised of software dev tools) and homebrew installed on your macOS.

check if xcode is already installed using xcode-select --version and if it isn't, execute this command to install:

$ xcode-select --install

check if homebrew is installed using brew --version

if it isn't, execute this command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

you'll then be given a few prompts to proceed, enter your password, and enter y to confirm installation. verify that homebrew is set up correctly, brew doctor should output your system is ready to brew if no updates are required.

once homebrew is set up, install node.js (which includes npm packages) with brew install nodejs

to check which version of node.js and npm you have: use node -v and npm -v

to update your version of node.js, first update homebrew brew update and then upgrade node.js itself brew upgrade nodejs

create next.js app

to start a new next.js project with everything set up automatically, run:

npx create-next-app@latest

install sass

run the following command to install sass and use scss in your app:

npm install sass

local development

run the local development server http://localhost:3000

npm run dev

you can start editing the page by modifying app/page.tsx and the page will auto-update as you edit the file

deployment

we'll use vercel to deploy our project and host our website.

Ngan Hoang's Projects

svg-cleanups icon svg-cleanups

Exercises in SVG markup cleanup. Trademarks, copyrights, logos et c held by their respective owners.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.