... | ... | @@ -10,10 +10,9 @@ To set up the root application, we use Next.js. At first, we have to install Nod |
|
|
|
|
|
```js
|
|
|
git clone https://gitlab.bht-berlin.de/s85885/blockevent.git
|
|
|
"https://github.com/vercel/next-learn/tree/master/basics/learn-starter"
|
|
|
```
|
|
|
|
|
|
Now, an example app from Next.js is being created in this directory:
|
|
|
Now, you got a local clone from our repository on your computer :
|
|
|
|
|
|

|
|
|
|
... | ... | @@ -23,6 +22,12 @@ To run the application, we have to change into the directory called **nextjs-blo |
|
|
cd nextjs-blog
|
|
|
```
|
|
|
|
|
|
Now you have to install the dependencies:
|
|
|
|
|
|
```js
|
|
|
npm install
|
|
|
```
|
|
|
|
|
|
Then we run the command:
|
|
|
|
|
|
```js
|
... | ... | @@ -233,17 +238,3 @@ export default NextAuth({ |
|
|
})
|
|
|
```
|
|
|
For more information, visit the [NextAuth.js documentation](https://next-auth.js.org/getting-started/example) |
|
|
\ No newline at end of file |
|
|
|
|
|
# Tests
|
|
|
To run the tests you have to execute
|
|
|
|
|
|
```sh
|
|
|
npm run coverage
|
|
|
```
|
|
|

|
|
|
|
|
|
To see the report of the tests open index.html (coverage/lcov-report/pages/index.html)
|
|
|
|
|
|

|
|
|
|
|
|
# Gitlab CI-Pipeline |