A browser-based pixel art editor that allows users to create pixel art and share it with others. It is built with Vue.js and .NET Core.
Prettier - Code formatter <- Set as default formatter
Path Intellisense
vscode-icons
- Open the .Client project folder in VS Code by clicking 'File' -> 'Open Folder' and selecting the .Client inside the cloned repository folder
- Open terminal with 'ctrl+`' The key left of 1
- Run the following commands:
npm install --legacy-peer-deps
- Open the .sln file in the root directory of the project in Visual Studio
- CD to return to the root directory and run the following commands:
This will run the database in a docker container and create the schema defined in the init.sql file
docker-compose up -d - Open Microsoft SQL Server Management Studio and connect to the database using the following credentials:
Use the same password as defined in your docker-compose.yml file
Server: localhost,1433 Login: sa Password: PASSWORD_HERE Encryption: Optional Trust Server Certificate: Yes
- Open the .sln file in the root directory of the project in Visual Studio
- Create your appsettings.json file in the .server folder with key/value pairs for the following:
- ConnectionString
- ClientId
- ClientSecret
- HomeUrl
- Run the project with the Start button in Visual Studio
If there is an HTTPS certificate error when running 'npm run dev', manually creating the certificate might be needed.
-
Route to the 'Roaming' folder
-
Create a new folder called 'ASP.NET' if it is not already present
-
Create a new folder in ASP.NET called 'https'
-
Copy the directory of the 'https' folder
-
Open terminal and run the following command:
dotnet dev-certs https --export-path 'your directory here'/mytestvueapp.client.pem