-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
196 additions
and
53 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -18,5 +18,8 @@ services: | |
pgadmin: | ||
network_mode: service:db | ||
|
||
static: | ||
network_mode: service:db | ||
|
||
volumes: | ||
datatracker-vscode-ext: |
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,59 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Datatracker DEV</title> | ||
<style> | ||
body { | ||
background-color: #111; | ||
color: #FFF; | ||
font-family: Arial, Helvetica, sans-serif; | ||
text-align: center; | ||
padding: 50px; | ||
font-size: 16px; | ||
} | ||
img { | ||
height: 80px; | ||
} | ||
h1 { | ||
color: #CCC; | ||
} | ||
div { | ||
background-color: #222; | ||
border-radius: 10px; | ||
padding: 10px 50px; | ||
display: inline-block; | ||
} | ||
i { | ||
font-size: 64px; | ||
line-height: 16px; | ||
vertical-align: text-bottom; | ||
margin-right: 5px; | ||
} | ||
code { | ||
background-color: #444; | ||
padding: 3px 6px; | ||
border-radius: 5px; | ||
margin: 0 5px; | ||
} | ||
.mt { | ||
margin-top: 15px; | ||
} | ||
a { | ||
color: #31CCEC; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<img src="/_static/logos/ietf-inverted.svg" alt="IETF" /> | ||
<h1>Datatracker</h1> | ||
<h2>Could not connect to dev server.</h2> | ||
<div> | ||
<p>Is the datatracker server running?</p> | ||
<p class="mt">Using <strong>VS Code</strong>, open the <strong>Run and Debug</strong> tab on the left and click the <i>‣</i> symbol (Run Server) to start the server.</p> | ||
<p>Otherwise, run the command <code>ietf/manage.py runserver 0.0.0.0:8001</code> from the terminal.</p> | ||
</div> | ||
<p class="mt">For more information, check out the <a href="https://github.com/ietf-tools/datatracker/blob/main/docker/README.md" target="_blank">Datatracker Development in Docker</a> guide.</p> | ||
</body> | ||
</html> |
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,24 @@ | ||
server { | ||
listen 8000 default_server; | ||
listen [::]:8000 default_server; | ||
|
||
root /var/www/html; | ||
index index.html index.htm index.nginx-debian.html; | ||
|
||
server_name _; | ||
|
||
location /_static/ { | ||
proxy_pass http://localhost:80/; | ||
} | ||
|
||
location / { | ||
error_page 502 /502.html; | ||
proxy_pass http://localhost:8001/; | ||
proxy_set_header Host localhost:8000; | ||
} | ||
|
||
location /502.html { | ||
root /var/www/html; | ||
internal; | ||
} | ||
} |
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,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
apt-get update -y | ||
apt-get install -y nginx |
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,17 @@ | ||
#!/bin/bash | ||
|
||
sudo service rsyslog start &>/dev/null | ||
|
||
# Run nginx | ||
|
||
echo "Starting nginx..." | ||
pidof nginx >/dev/null && echo "nginx is already running [ OK ]" || sudo nginx | ||
|
||
# Run memcached | ||
|
||
echo "Starting memcached..." | ||
pidof memcached >/dev/null && echo "memcached is already running [ OK ]" || /usr/bin/memcached -u dev -d | ||
|
||
echo "-----------------------------------------------------------------" | ||
echo "Ready!" | ||
echo "-----------------------------------------------------------------" |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/*.pyc | ||
/settings_local.py | ||
/settings_local.py.bak | ||
/settings_local_debug.py | ||
/settings_local_vite.py | ||
/settings_mysqldb.py | ||
/settings_postgresqldb.py | ||
/settings_*.py.bak | ||
/ietfdb.sql.gz |
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
Oops, something went wrong.