Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-workflow
Commits
5c37a025
Unverified
Commit
5c37a025
authored
1 year ago
by
Amit Sharma
Committed by
GitHub
1 year ago
Browse files
Options
Download
Plain Diff
Merge pull request #55 from Siddhesh4501/updatedReadme
updated readme
parents
a9fa1e10
6e7262c0
main
revert-67-contributeByGitpod
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+36
-1
README.md
with
36 additions
and
1 deletion
+36
-1
README.md
+
36
−
1
View file @
5c37a025
...
...
@@ -222,9 +222,44 @@ TODO: Add details on the specifications
1.
XSS (High Priority) - Simple form
2.
SQL Injection (High Priority) - needs to be fixed.
### LocalSetup
1.
Fork the repository on your local machine.
2.
Make sure you have docker and docker compose on your machine.
3.
Change the enviroment variables in sample.env or .env file as shown below.
It will use the locally created containers and connect to those services.
```
REACT_APP_ENKETO_URL=http://localhost:8065
REACT_APP_FORM_MANAGER_URL=http://localhost:3006
REACT_APP_HASURA_URL=http://localhost:8080
```
4.
Run the command
-
For Development Environment
```
sh
type
-p
curl
>
/dev/null
||
sudo
apt
install
curl
-y
curl
-fsSL
https://cli.github.com/packages/githubcli-archive-keyring.gpg |
sudo dd
of
=
/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod
go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo
"deb [arch=
$(
dpkg
--print-architecture
)
signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main"
|
sudo tee
/etc/apt/sources.list.d/github-cli.list
>
/dev/null
sudo
apt update
sudo
apt
install
gh
-y
```
-
For installing ODK-Central
```
sh
bash install-central.sh
```
-
To start Services
1. If you have v1 of docker then excute this command
```sh
docker-compose up -d
```
2. Otherwisse execute this
```sh
docker compose up -d
```
NOTE:
-----
```
For local development enketo-express needs node 14 and pnpm@7
Run nvm use 14 && npm i -g pnpm@7 if developing in enketo-express
```
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets