-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from lcgeneralprojects/development
Development
- Loading branch information
Showing
13 changed files
with
193 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# django-postgresql study | ||
[![en](https://img.shields.io/badge/lang-en-red)](https://github.com/lcgeneralprojects/django-posgresql-study/blob/development/README.md) | ||
[![ru](https://img.shields.io/badge/lang-ru-green)](https://github.com/lcgeneralprojects/django-posgresql-study/blob/development/README.ru.md) | ||
|
||
A simple blog project, meant to be proof of basic competence in working with the technologies of Django and PostgreSQL. | ||
|
||
There are two intended ways of starting the server. | ||
First, one should navigate tho the `server/` subdirectory of the project, and then executing one of the following commands: | ||
- to start the server directly, use the command `python manage.py runserver`. | ||
- to start the server using Docker, use the command `docker-compose up [--build]`. | ||
|
||
Currently, the application allows a user to register, log in, view, post, edit, and delete comments. The access to this functionality is provided by the links in the header of the project's pages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# django-postgresql study | ||
[![en](https://img.shields.io/badge/lang-en-red)](https://github.com/lcgeneralprojects/django-posgresql-study/blob/development/README.md) | ||
[![ru](https://img.shields.io/badge/lang-ru-green)](https://github.com/lcgeneralprojects/django-posgresql-study/blob/development/README.ru.md) | ||
|
||
Простой проект-блог, предназначенный для доказательства базовой компетенции в области работы с технологиями Django и PostgreSQL. | ||
|
||
На данный момент подразумевается два способа запуска сервера. | ||
Для начала пользователь должен перейти в поддиректорию `server/` и запустить выполнение одной из следующих команд: | ||
- чтобы запустить сервер напрямую, пользователю нужно воспользоваться командой `python manage.py runserver` | ||
- чтобы запустить сервер с помощью Docker, пользователю нужно воспользоваться командой `docker-compose up [--build]`. | ||
|
||
На данный момент приложение позволяет пользователю регистрироваться, заходить в свою учетную запись, видеть комментарии, а также оставлять, редактировать и удалять их. Доступ к этим возможностям предоставляется с помощью ссылок в головном элементе страниц проекта. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
function dummy() { | ||
var xhttp = new XMLHttpRequest(); | ||
xhttp.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | ||
document.getElementsByTagName("main").innerHTML = this.responseText; | ||
} | ||
}; | ||
xhttp.open("POST", "home", true); | ||
xhttp.send(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters