Guide to get started with setting Up SourceTraq Development Environment
Clone the SourceTraq repository from GitHub:
git clone https://github.com/shridhar-tl/sourcetraq.gitNavigate into the project directory:
cd sourcetraqSwitch to develop branch:
git checkout developInstall the project dependencies using npm:
npm installInstall the SourceTraq extension from the Chrome Web Store or other supported browsers. Search for "SourceTraq" in the respective extension store and add it to your browser.
Setting up a custom host entry is crucial for local development. It simulates a domain name, enabling OAuth and other functionalities to work seamlessly.
Open Notepad or any text editor with administrator privileges.
Open the hosts file located at C:\Windows\System32\drivers\etc\hosts.
Add the following line:
127.0.0.1 local.sourcetraq.comBy default, the project runs on port 80. To change the port number, adjust the .env file.
Run the project using npm:
npm startAccess the development environment at http://local.sourcetraq.com:{PORT} (replace {PORT} with the chosen port number).
With the SourceTraq extension installed, you can now explore and test the features of the project seamlessly.