This is the git repository used for the official Detachment 165 page located at afrotc.gatech.edu. If you are new to working with websites and you have been voluntold to help out with this one, do not fear! For your friendly README is here!
-
Clone the git repository
git clone https://github.com/petschekr/Detachment-165.git
If you do not have git, you can download it here -
Make sure you have node and npm installed You can download the latest stable (LTS) release of node and npm (node package manager) at https://nodejs.org/en/
-
Install required dependencies Go to the rendered folder
cd Detachment-165/rendered/
Install Dependencies using npmnpm install
-
Install typescript
npm install -g typescript
Note: the -g tells npm to install typescript so it can be accessed globally -
Compile typescript files
tsc
This command will compile all typescript files into javascript files. Basically, all files ending in .ts will have another file created with the same name but with the ending .js -
Copy the .env.example file to a new file called .env Windows:
copy .env.example .env
Linux/Mac:cp .env.example .env
-
Run local server
node app.js
-
You should now be able to go to localhost on port 3000 and view the website.
At the time of this README being written. The Detachment-165 project is currently being hosted using GT hosting services with a Plesk server. If you are on Georgia Tech campus, or have access to the campus VPN, you can go to hosting.gatech.edu, login with your GT account, go to Plesk Web Admin, and click on afrotc.gatech.edu under the Plesk control panel. If you do not have access to the to the control panel or the afrotc.gatech.edu you should contact one of these people:
- Captain Babcock [email protected]
- Terrell Caldwell [email protected]
- Miguel Garcia [email protected]
- Yours Truly, Kyser Montalvo - [email protected]
And one of us should be able to get you access to the plesk server.
After you have logged into the plesk server, you will see that you can Pull Updates from the master branch of the GitHub repository. This will take all the files from the master branch and deploy them into production for everybody to see.