Commit missing files
This commit is contained in:
+9
-2
@@ -3,7 +3,9 @@
|
||||
"version": "1.0.0",
|
||||
"description": "A modern web app using a Django backend and an Angular frontend.",
|
||||
"scripts": {
|
||||
"test": "eslint ."
|
||||
"test": "eslint . && remark .",
|
||||
"eslint": "eslint .",
|
||||
"remark": "remark ."
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -12,6 +14,11 @@
|
||||
"author": "SIK ry",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"eslint": "3.19.0"
|
||||
"eslint": "3.19.0",
|
||||
"remark-cli": "^4.0.0",
|
||||
"remark-preset-lint-recommended": "^3.0.1"
|
||||
},
|
||||
"remarkConfig": {
|
||||
"plugins": ["remark-preset-lint-recommended"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ sudo apt install npm
|
||||
```
|
||||
|
||||
More info about PostgreSQL at:
|
||||
https://www.postgresql.org/
|
||||
[https://www.postgresql.org/](https://www.postgresql.org)
|
||||
|
||||
These packages might be needed on certain platforms:
|
||||
|
||||
@@ -94,7 +94,17 @@ Using address 0.0.0.0 will bind to all IP addresses.
|
||||
|
||||
### Visit the page
|
||||
|
||||
Visit https://localhost:8000 in your browser!
|
||||
Visit [https://localhost:8000](https://localhost:8000) in your browser!
|
||||
|
||||
## Running in production
|
||||
|
||||
A good way to run django in production is by using uWSGI. Install uWSGI with:
|
||||
|
||||
```
|
||||
pip install -r requirements.production.txt
|
||||
```
|
||||
|
||||
Create an uWSGI ini file and run the daemon according to online instructions.
|
||||
|
||||
## Development workflow
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uWSGI==2.0.14
|
||||
@@ -17,7 +17,6 @@ djangorestframework==3.5.3
|
||||
coverage==4.3.4
|
||||
django-nose==1.4.4
|
||||
nose-exclude==0.5.0
|
||||
uWSGI==2.0.14
|
||||
psycopg2==2.7.1
|
||||
django-bootstrap3==8.2.3
|
||||
django-tables2==1.6.1
|
||||
|
||||
Reference in New Issue
Block a user