Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6642b5f

Browse files
authored
Merge pull request codeforgso#19 from braidn/feature/readme-setup-updates
Readme Setup Updates
2 parents 2d14040 + 1cff7ce commit 6642b5f

File tree

3 files changed

+69
-8
lines changed

3 files changed

+69
-8
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@ The other major issue is the color scheme. Our current color scheme works well t
1111

1212
The website's copy is mostly okay but will require some updates.
1313

14-
## Dev stuff
14+
## Current URLs
1515

16-
See the [NextJS Readme](./NEXT_README.md) for technical information
16+
1. Dev URL https://codeforgsogithubio-git-dev.codeforgso.now.sh/
1717

18-
Dev URL https://codeforgsogithubio-git-dev.codeforgso.now.sh/
18+
## Table of Contents
1919

20-
To run the project locally:
20+
1. [Dev Setup](./docs/setup.md)
21+
1. [NextJS Readme](./docs/next.md) for technical information
2122

22-
23-
`npm install` *Only required first time*
24-
25-
`npm run dev`
File renamed without changes.

docs/setup.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Setup
2+
3+
## Your Environment
4+
5+
Make sure to have a [modern version of Node installed][node]:
6+
7+
1. [Official builds][builds] (every platform)
8+
1. Homebrew (Mac/Apple):
9+
10+
brew install node
11+
12+
1. Scoop (Windows):
13+
14+
scoop install nodejs
15+
16+
1. Docker: Not yet? Let's build a Dockerfile + Docker Compose file
17+
18+
Second off, we will need to download/install/build Git for your machine:
19+
20+
1. Mac: [Github Desktop Install][gitDesktop]
21+
1. Windows: [Github Desktop Install][gitDesktop]
22+
1. Homebrew (Mac/Apple)
23+
24+
brew install git
25+
26+
## Cloning The Repo
27+
28+
Changes to the site should be done through contributing to the repo in an open source manner.
29+
If giving back to open source is new,
30+
we highly recommend [this guide by the fine folks at GitHub][contrib].
31+
32+
1. Sign up or sign in to your [GitHub Account][github]
33+
1. Navigate to the [Code For Greensboro repository][repo]
34+
1. On the far right there will be a button labeled 'Fork', click it.
35+
1. Fork the repository into your account's repository list.
36+
1. (Easy): Use the GitHub Desktop client to download the code to your computer
37+
1. __Stop here if you want to use GitHub Desktop, you are all set, code away!__
38+
1. (Harder): Follow the below if you want to use the command line
39+
1. Clone the freshly forked repository to your computer.
40+
1. Check the upstream remote by 'cd ing' into the project's root folder and running the following command:
41+
42+
git remote -v
43+
44+
The output should read: `origin [email protected]:{your GitHub username}/codeforgso.github.io.git`
45+
46+
## Dependencies
47+
48+
The project is Node application.
49+
All dependencies can be installed using the following command in the root of the repo
50+
51+
npm install
52+
53+
## Running the Project
54+
55+
With all code installed, the project can be started using the following:
56+
57+
npm run dev
58+
59+
[node]: https://nodejs.org/en/
60+
[builds]: https://nodejs.org/en/download/
61+
[contrib]: https://opensource.guide/how-to-contribute/
62+
[github]: https://github.com/
63+
[repo]: https://github.com/codeforgso/codeforgso.github.io
64+
[gitDesktop]: https://desktop.github.com/

0 commit comments

Comments
 (0)