Skip to main content

Installation

The Photoscope works with Nuxtjs and Nuxt needs nodejs to work. So I assume NodeJS is installed on your system. if not, you must first install NodeJs. Check this page for documentation on Nodejs.

Since everything is okay, we can start by installing the necessary packages. First, take a look at the photoscope folder. Here you will see a package.json file. This file holds all the necessary packages we need. Install the dependencies with the following command.

npm install

After a while all the necessary packages will be loaded, Now we can start our nuxt project with the following command.

npm run dev

If everything goes well, you will see output like this:

npm run dev

> [email protected] dev /PhotoScope
> nuxt


╭───────────────────────────────────────╮
│ │
│ Nuxt.js @ v2.13.3 │
│ │
│ ▸ Environment: development │
│ ▸ Rendering: client-side │
│ ▸ Target: static │
│ │
│ Listening: http://localhost:3000/ │
│ │
╰───────────────────────────────────────╯

ℹ Preparing project for development 23:41:04
ℹ Initial build may take a while 23:41:04
✔ Builder initialized 23:41:04
✔ Nuxt files generated 23:41:04

✔ Client
Compiled successfully in 27.68s

ℹ Waiting for file changes
ℹ Memory usage: 341 MB (RSS: 766 MB) 23:41:33
ℹ Listening on: http://localhost:3000/

Now you can access the page http://localhost:3000 from your browser. Everything is okay now you can start to develop.