I. Check it out here!
We also published an article on building a real-time collaborative code editor. Check it out here!
-
Download SQLite3 https://sqlite.org/download.html
-
Make sure you have ASP.NET Core 2.1 SDK and runtime: Installs via Visual Studio Installer or downloads at https://dotnet.microsoft.com/download/dotnet-core/2.1
-
Install the .NET Core CLI
dotnet tool install --global dotnet-ef
- Create the local instance of the DB by running this command in the terminal
dotnet ef database update
Note: to drop the database, run the following command
dotnet ef database drop
- This project was generated with Angular CLI version 8.3.9.
Install the Angular CLI using NPM (Node.js >= 10 required)
npm install -g @angular/[email protected]
In the code-spot-client folder. Restore all NPM packages by running
npm install
- Start IIS Express server through Visual Studio IDE or run this command in the project's folder (Code-Spot-P2P)
dotnet run
- Run this command in the client's folder (code-spot-client).
ng serve --open
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.