-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from tcet-opensource/maybeoshi-34-linux-docume…
…ntation 34 linux documentation
- Loading branch information
Showing
7 changed files
with
86 additions
and
13,637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# TCET-Linux-Website | ||
Website of TCET Linux | ||
Basic Document on how to get started with the TCET Linux Website. | ||
|
||
## Steps to run the site on your local system: | ||
These are the steps you need to follow to get this site on your local system. | ||
|
||
### Install Git in your computer | ||
Follow these steps to install git in your computer. | ||
1. Go to [https://git-scm.com/downloads](https://git-scm.com/downloads). | ||
2. Click on Windows. Download should start. | ||
3. Go to downloads and install the package. | ||
|
||
### Clone the repo | ||
Open Git Bash in any folder and paste the following command | ||
|
||
```bash | ||
git clone -b experiment https://github.com/tcet-opensource/tcet-linux-website.git | ||
``` | ||
|
||
### Install NodeJS | ||
|
||
1. Go to [https://nodejs.org/en/download](https://nodejs.org/en/download) | ||
2. Select <b>Current</b>. | ||
3. Download the 64-bit .msi version. Follow the steps and install NodeJS. | ||
|
||
**Note: It is important to have NodeJS in your system** | ||
|
||
### Open the folder in VS Code | ||
1. Install [VS Code](https://code.visualstudio.com/docs/?dv=win32user) if not installed. | ||
2. Open Windows Terminal in the folder you have cloned the repo, as done in [step 2](#clone-the-repo). | ||
|
||
### Install Important Packages/Dependencies | ||
Install yarn globally | ||
|
||
```bash | ||
npm install -g yarn | ||
``` | ||
|
||
You can make changes to your respective files and changes will be shown once you have saved the file. | ||
|
||
### Run the site live locally + making changes | ||
|
||
You can run the site by running the following command in VC Code terminal. | ||
```bash | ||
npm run start | ||
``` | ||
### Commands used to run locally | ||
|
||
1. To run the commands, make sure that you have installed yarn globally first. | ||
2. All commands are run from the root of the project, from a terminal | ||
|
||
Here are a set of commands used to run locally: | ||
|
||
| **Command** | **Action** | | ||
| -------- | -------- | | ||
| `yarn` | Installs dependencies | | ||
| `yarn dev` | Starts local dev server at `localhost:3000` | | ||
| `yarn build` | Build your production site to `./dist/` | | ||
| `yarn preview` | Preview your build locally, before deploying | | ||
| `yarn astro ...` | Run CLI commands like `astro add`, `astro check` | | ||
| `yarn astro --help` | Get help using the Astro CLI | | ||
|
||
### Steps to run after a Pull / Merge: | ||
|
||
1. To install all dependencies | ||
|
||
```bash | ||
yarn | ||
``` | ||
2. To run local dev environment | ||
|
||
```bash | ||
yarn dev | ||
``` |
Oops, something went wrong.
9c7deb7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Netlify deployed tcet-linux-deploy as production
https://tcet-linux-deploy.netlify.app