Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix: update installation pages
Browse files Browse the repository at this point in the history
Fixes #135
  • Loading branch information
NRayya committed Sep 9, 2022
1 parent 2897540 commit 46ff415
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
16 changes: 14 additions & 2 deletions docs/developer-guides/installation/linux.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 3
id: linux
title: Linux
id: Ubuntu
title: Ubuntu
---

nmrXiv project is built with [Laravel](https://laravel.com/docs/8.x) web application framework which comes with [Sail](https://laravel.com/docs/8.x/sail), a built-in solution for running your Laravel project using Docker.
Expand Down Expand Up @@ -52,6 +52,18 @@ composer install
```bash
./vendor/bin/sail up
```

* Run the below command to migrate the database with some dummy values.
Don't forget to note down the admin's user id and password provided at the end of migration output.
```bash
./vendor/bin/sail artisan migrate:refresh --seed
```

* Open another terminal and run the below command to boot up your local static web server.
```bash
npm install && npm run dev
```

Once the application's Docker containers have been started, you can access the application in your web browser at [http://localhost](http://localhost). But first, you will be prompted to <b>Generate app key</b>. After pressing the generation button, the following message is shown on the screen: "The solution was executed successfully. Refresh now." After refreshing, you access the application.

:::caution Recommendation
Expand Down
12 changes: 11 additions & 1 deletion docs/developer-guides/installation/mac.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 1
id: mac
title: Mac
title: macOS
---
nmrXiv project is built with [Laravel](https://laravel.com/docs/8.x) web application framework which comes with [Sail](https://laravel.com/docs/8.x/sail), a built-in solution for running your Laravel project using Docker.
The whole project is a package of below services and features.
Expand Down Expand Up @@ -48,6 +48,16 @@ composer install
./vendor/bin/sail up
```

* Run the below command to migrate the database with some dummy values. Don't forget to note down the admin's user id and password provided at the end of migration output.
```bash
./vendor/bin/sail artisan migrate:refresh --seed
```

* Open another terminal and run the below command to boot up your local static web server.
```bash
npm install && npm run dev
```

Once the application's Docker containers have been started, you can access the application in your web browser at [http://localhost](http://localhost). But first, you will be prompted to <b>Generate app key</b>. After pressing the generation button, the following message is shown on the screen: "The solution was executed successfully. Refresh now." After refreshing, you access the application.

:::caution Recommendation
Expand Down
2 changes: 1 addition & 1 deletion docs/developer-guides/installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ composer install
./vendor/bin/sail up
```
* Run the below command to migrate the database with some dummy values.
Don't forget to note down the admin's user id and password prompted at the end of migration output.
Don't forget to note down the admin's user id and password provided at the end of migration output.
```bash
./vendor/bin/sail artisan migrate:refresh --seed
```
Expand Down

0 comments on commit 46ff415

Please sign in to comment.