Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
teknikattan-scoring-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tddd96-grupp1
teknikattan-scoring-system
Commits
5fc802ca
Commit
5fc802ca
authored
3 years ago
by
Victor Löfgren
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' of gitlab.liu.se:tddd96-grupp11/teknikattan-scoring-system into dev
parents
0e44df85
d653bfb0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/README.md
+18
-10
18 additions, 10 deletions
server/README.md
with
18 additions
and
10 deletions
server/README.md
+
18
−
10
View file @
5fc802ca
...
...
@@ -13,6 +13,9 @@ You will need to do the following things to install the server:
5.
Open the project folder in VS Code.
6.
Open the integrated terminal by pressing
`ctrl+ö`
.
7.
Type the following commands into your terminal:
8.
(Production) Install PostgreSQL 13
-
[
Windows
](
https://www.postgresql.org/
)
:
-
[
Linux
](
https://phoenixnap.com/kb/how-to-install-postgresql-on-ubuntu
)
:
### Windows
...
...
@@ -50,8 +53,7 @@ sudo apt install python3-venv
# Go into the server folder.
cd
server
# Create a python virtual environment. If it can't find python3, try
# python or py -3 instead of python3.
# Create a python virtual environment. If it can't find python3, try python.
python3
-m
venv
env
# Activate the virtual environment.
...
...
@@ -69,19 +71,19 @@ But if you are a developer, run `pip install -r requirements-dev.txt`.
## Common problems
### Make sure python
3
is running with the python command
### Make sure python
+3.8
is running with the python command
```
py --version
or
python --version
(Windows):
py --version
or py3 --version
(Linux): python --version or python3 --version
```
- If the version is < 3 try the following commands
(Linux) This
[
guide
](
https://dev.to/serhatteker/how-to-upgrade-to-python-3-7-on-ubuntu-18-04-18-10-5hab
)
can help you upgrade python
py3 or python3
```
(Windows) Download python 3.8
[
here
](
https://www.python.org/downloads/
)
### Make sure pip is running with python 3
### Make sure pip is running with python 3
and right
```
pip --version
...
...
@@ -101,6 +103,12 @@ can help you upgrade pip
pip install wheel
```
### Problem: psycopg
```
pip install psycopg2
```
This
[
guide
](
https://stackoverflow.com/questions/53204916/what-is-the-meaning-of-failed-building-wheel-for-x-in-pip-install
)
can help you troubleshoot this problem
...
...
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