Setup Steps: Difference between revisions
Mgm-seedbury (talk | contribs) (Setup steps for Ksitropy development workstation) |
Mgm-seedbury (talk | contribs) (→VSCode) |
||
| Line 9: | Line 9: | ||
== VSCode == | == VSCode == | ||
=== Initial Setup === | |||
# Run ''git config --global credential.helper store''. This will store your git credentials the next time you input them. | # Run ''git config --global credential.helper store''. This will store your git credentials the next time you input them. | ||
# Create a "Projects" folder inside the "Documents" Folder. | # Create a "Projects" folder inside the "Documents" Folder. | ||
| Line 17: | Line 18: | ||
# Create env.js file inside the api folder | # Create env.js file inside the api folder | ||
# Paste ''module.exports = env = { group: 0, id: ‘dev0’}'' | # Paste ''module.exports = env = { group: 0, id: ‘dev0’}'' | ||
=== User Settings and Aliases === | |||
# Press control+shift+p and type 'Open User Settings (JSON)' | # Press control+shift+p and type 'Open User Settings (JSON)' | ||
# In the resulting file, paste [[global user settings json]] | # In the resulting file, paste [[global user settings json]] | ||
# In the terminal, run ''code ~/.bash_aliases'' | |||
# In the resulting file, paste the [[bash aliases code]] | |||
=== Running the app with debugger === | |||
# In the debugger, press the link to create a setup.json file | # In the debugger, press the link to create a setup.json file | ||
# In that file, paste the code in [[setup.json code]] | # In that file, paste the code in [[setup.json code]] | ||
Revision as of 20:16, 15 December 2025
Amazon Workspaces
Username and password provided by admin. This password also corresponds to "Keyring" password inside the workspace.
Gitea
Gitea is the issue tracking and version control interface used for development in Ksitropy.
To access gitea, enter the following in the browser of your choice: 172.31.108.186:3000 (remember to bookmark it for easy access).
Create an account (YOUR_INITIALS-seedbury), admin will invite you to Ksitropy repository.
VSCode
Initial Setup
- Run git config --global credential.helper store. This will store your git credentials the next time you input them.
- Create a "Projects" folder inside the "Documents" Folder.
- Inside this folder, clone the Ksitropy repository.
- Visit the repository in Gitea
- Under Code, copy the HTTP link
- Inside the "Projects" folder run git clone PASTE_HTTP_LINK_HERE
- Create env.js file inside the api folder
- Paste module.exports = env = { group: 0, id: ‘dev0’}
User Settings and Aliases
- Press control+shift+p and type 'Open User Settings (JSON)'
- In the resulting file, paste global user settings json
- In the terminal, run code ~/.bash_aliases
- In the resulting file, paste the bash aliases code
Running the app with debugger
- In the debugger, press the link to create a setup.json file
- In that file, paste the code in setup.json code
- In that folder, create another file named tasks.json and paste the code in tasks.json code
To run the development build, choose Dev: server + browser in the debugger and run it.
Create a Ksitropy account
In the development website, create an account using the work email and a password of your choice. Remember or write down these credentials. An admin will activate your account.
Neo4j
Neo4j is used to interact with the graph database that is used in Ksitropy.
You can find it in 172.31.106.81:7474/browser/preview, remember to bookmark it for easy access.