Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
form-creator-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simmctic
form-creator
form-creator-api
Commits
c279f20d
Commit
c279f20d
authored
5 years ago
by
Richard Fernando Heise Ferreira
Committed by
Stephanie Briere Americo
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#58
: Update README.md
Signed-off-by:
RichardHeise
<
rfhf19@inf.ufpr.br
>
parent
4ccc1cee
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-0
19 additions, 0 deletions
README.md
with
19 additions
and
0 deletions
README.md
+
19
−
0
View file @
c279f20d
...
...
@@ -4,6 +4,25 @@
RESTful API used to manage and answer forms.
Backend installation instructions:
-
Be sure your system is 64-bits or Docker will not work.
-
Git clone this repo, doesn't matter if it's done with SSH or HTTPS.
-
Use $~ git submodule update --init --recursive command to pull the database submodule inside the project.
-
Use $~ sudo apt install docker.io command to install Docker.
-
Use $~ sudo apt install docker-compose command to install docker-compose.
-
Use $~ mv .env.example .env command to set the env file.
-
Use $~ cd config/ command and then $~ mv config.env.example config.env commando to set config env.
-
Use $~ cp config.env test.env to copy the env to the test env.
-
Use $~ vim(vi) test.env and change the port to 3001, for example (optional so tests don't break).
-
Use $~ sudo docker-compose up --build to run docker.
-
If everything worked out good there'll be a message "server listening on port 3000".
-
Open a new terminal, go to the form-creator-api directory and execute $~ sudo docker exec -it formcreatorapi_form-creator-api-backend_1 bash.
-
Now, inside this backend docker, run $~ yarn run test.
-
Use $~ sudo docker exec -it form-postgres bash, then type psql -U postgres on this docker that just opened.
-
You are, now, inside postgreSQL, you can use
\d
t command to list all tables, be sure you have 13.
-
That's it, backend installed.
## Objective
The main objective of this project is create a
*Web Service*
which allows users
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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