Setup Steps: Difference between revisions
Mgm-seedbury (talk | contribs) |
Mgm-seedbury (talk | contribs) No edit summary |
||
| Line 13: | Line 13: | ||
# Create a "Projects" folder inside the "Documents" Folder. | # Create a "Projects" folder inside the "Documents" Folder. | ||
# Inside this folder, clone the Ksitropy repository. | # Inside this folder, clone the Ksitropy repository. | ||
## Visit the repository in Gitea | ## Visit the repository in Gitea. | ||
## Under Code, copy the HTTP link | ## Under Code, copy the HTTP link. | ||
## Inside the "Projects" folder run ''git clone PASTE_HTTP_LINK_HERE'' | ## Inside the "Projects" folder run ''git clone PASTE_HTTP_LINK_HERE'' | ||
# 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 === | === 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 terminal, run ''code ~/.bash_aliases'' | ||
# In the resulting file, paste the [[bash aliases code]] | # In the resulting file, paste the [[bash aliases code]]. | ||
# In the pasted code, insert your own Gitea token: | # In the pasted code, insert your own Gitea token: | ||
## Go to Gitea | ## Go to Gitea. | ||
## Go to Settings -> Applications | ## Go to Settings -> Applications. | ||
## Under Generate New Token: | ## Under Generate New Token: | ||
### Input a token name of your liking | ### Input a token name of your liking. | ||
### Check 'All (public, private, and limited)' | ### Check 'All (public, private, and limited)'. | ||
### Under Select permissions, set all to 'Read and Write' | ### Under Select permissions, set all to 'Read and Write'. | ||
## Click Generate Token button | ## Click Generate Token button. | ||
## Copy the token in the blue box | ## Copy the token in the blue box. | ||
## Paste in the bash aliases file where it says <get token in gitea> surrounded by quotes | ## Paste in the bash aliases file where it says <get token in gitea> surrounded by quotes. | ||
=== Running the app with debugger === | === 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]]. | ||
# In that folder, create another file named tasks.json and paste the code in [[tasks.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. | To run the development build, choose ''Dev: server + browser'' in the debugger and run it. | ||
Revision as of 20:41, 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.
- In the pasted code, insert your own Gitea token:
- Go to Gitea.
- Go to Settings -> Applications.
- Under Generate New Token:
- Input a token name of your liking.
- Check 'All (public, private, and limited)'.
- Under Select permissions, set all to 'Read and Write'.
- Click Generate Token button.
- Copy the token in the blue box.
- Paste in the bash aliases file where it says <get token in gitea> surrounded by quotes.
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.