-
Notifications
You must be signed in to change notification settings - Fork 18
Local Development Setup Guide
This guide will setup late and its dependencies on your computer as well as the required software you need for development.
Jump To: Video | Step 1 | Step 2 | Step 3 | Step 4
If on Windows
Install Ubuntu 18.04 (WSL) from PowerShell:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1804 -OutFile Ubuntu.appx -UseBasicParsing
Add-AppxPackage .\Ubuntu.appx
- Open "bash" from the start menu and setup your account (don't forget your username and password!)
- Run the quickstart script below
Run this in a terminal in Linux or MacOS or in bash on WSL:
bash -c "$(curl -L -o- tiny.cc/setuplate)"
Script Details
What does this script do?- install nvm
- install node
- install git
- configure git
- clone the late repo in your home folder
- download all dependencies
- checkout to the `dev` branch
TODO: terminal recording
You will now have a folder in your home directory called late/
, e.g. C:\Users\Frank\late
or /home/frank/late
. This is where all of LATE is stored locally on your computer.
At this point you have the files for LATE on your computer but in order to actually run it you need all of our secrets and passwords
that allows us to connect to the database, use Google APIs, etc. These are stored in a file named .env
in the root folder of late/
. THIS MUST BE NAMED .env
and NOT env
OR ANYTHING ELSE OR THE INFO CAN BE LEAKED
Frank will send you this file when joining the team. If this does not happen, message him and ask for it.
Install Visual Studio Code Editor here and install the following extensions:
- ESLint
dbaeumer.vscode-eslint
- Vetur
octref.vetur
- Live Share
ms-vsliveshare.vsliveshare
If on Windows (WSL)
VSCode will prompt you to install the WSL extension. **INSTALL IT**Whenever you are working in the late/
folder, make sure you have opened it up in WSL:
To run LATE, open two terminals in VSCode like so and run:
-
npm run backend
in one terminal -
npm run frontend
in the other
Remember, team, the scope of what we are working on. Our goal is to make our own lives and that of our peers easier.
LATE Stack Documentation | Learning Resources | Flowchart | LATE Discord Server Invite
Backend | Frontend | Terminology
Learn LATE
- FreeCodeCamp
- Git
- Web Basics
- HTML
- CSS [coming soon]
- JS [coming soon]
- VueJS [coming soon]
- Node [coming soon]
- MongoDB [coming soon]
How LATE Works