Skip to content

Commit e462380

Browse files
authored
Merge pull request #22 from Iank-code/documentation
docs: updated documentation
2 parents 526c7b7 + ec219bc commit e462380

File tree

3 files changed

+74
-26
lines changed

3 files changed

+74
-26
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
- name: Build project
2929
run: npm run build
3030

31-
env:
32-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
33-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
31+
# env:
32+
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
33+
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) [2024] [Ian Kamau]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 50 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,63 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1+
# SIL 2.0
22

3-
## Getting Started
3+
## Table of Contents
44

5-
First, run the development server:
5+
- [Introduction](#build-your-own-introduction)
6+
- [Prerequisites](#build-your-own-prerequisites)
7+
- [Setup Instructions](#build-your-own-setup-instructions)
8+
- [Running the Application](#build-your-own-running-the-application)
9+
- [Trello Board](#build-your-own-trello-board)
10+
- [License](#build-your-own-license)
611

7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
15-
```
12+
# Build your own `Introduction`
1613

17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
14+
This documentation provides a comprehensive guide on how to set up and run the Next.js application. Next.js is a React framework that enables functionality such as server-side rendering and static site generation.
1815

19-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
16+
# Build your own `Prerequisites`
2017

21-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
18+
Before you begin, ensure you have met the following requirements:
2219

23-
## Learn More
20+
- Node.js (version 12.0 or later)
21+
- npm or yarn (Node package managers)
22+
- Git (version control system)
2423

25-
To learn more about Next.js, take a look at the following resources:
24+
# Build your own `Setup Instructions`
2625

27-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
26+
### Step 1: Clone the repository
2927

30-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
28+
First, clone the repository to your local machine using Git.
3129

32-
## Deploy on Vercel
30+
git clone git@github.com:Iank-code/SIL-2.0.git
31+
cd SIL-2.0
3332

34-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
33+
### Step 2: Install dependencies
3534

36-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
35+
Install the project dependencies using npm
36+
37+
npm install
38+
39+
### Step 3: Create Environment Variables
40+
41+
Create a `.env.local` file in the root directory and add your environment variables.
42+
43+
NEXT_PUBLIC_SERVER_URL="https://jsonplaceholder.typicode.com"
44+
GOOGLE_CLIENT_ID="<YOUR GOOGLE CLIENT ID>"
45+
GOOGLE_API_SECRET="<YOUR GOOGLE API SECRET>"
46+
47+
### Step 4: Run the application
48+
49+
Start the development server.
50+
51+
npm run dev
52+
53+
# Build your own `Running the Application`
54+
55+
After setting up, you can access the application at `http://localhost:3000`
56+
57+
# Build your own `Trello Board`
58+
59+
For project management and task tracking, please refer to my Trello board: [Project Trello Board](https://trello.com/b/GgF8qU5t/savannah-informatics-frontend-developer)
60+
61+
# Build your own `License`
62+
63+
This project is licensed under the MIT License. See the LICENSE file for more information.

0 commit comments

Comments
 (0)