Skip to content

Commit

Permalink
[Rename] Renames the project to audino
Browse files Browse the repository at this point in the history
  • Loading branch information
manrajgrover committed May 28, 2020
1 parent f3283db commit 17dff0d
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 25 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# sat
# audino

audino is an
2 changes: 1 addition & 1 deletion backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ class Config(object):
JWT_BLACKLIST_ENABLED = True
JWT_HEADER_TYPE = None
JWT_BLACKLIST_TOKEN_CHECKS = ["access"]
UPLOAD_FOLDER = os.getenv("UPLOAD_FOLDER", "./sat_audios")
UPLOAD_FOLDER = os.getenv("UPLOAD_FOLDER", "./audino_audios")
2 changes: 1 addition & 1 deletion backend/setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from setuptools import setup

setup(name="sat", version="0.1.0", packages=["sat"], include_package_data=True)
setup(name="audino", version="0.1.0", packages=["audino"], include_package_data=True)
12 changes: 6 additions & 6 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ services:
environment:
ADMIN_USERNAME: "admin"
ADMIN_PASSWORD: "password"
DATABASE_URL: "mysql+pymysql://sat:sat@mysql/sat?charset=utf8mb4"
DATABASE_URL: "mysql+pymysql://audino:audino@mysql/audino?charset=utf8mb4"
UPLOAD_FOLDER: "/root/uploads"
FLASK_APP: "app.py"
FLASK_DEBUG: 1
FLASK_ENV: "development"
SECRET_KEY: "randomkeygoeshere"
JWT_SECRET_KEY: "secretkey"
JWT_REDIS_STORE_URL: "redis://:sat@redis:6379/0"
JWT_REDIS_STORE_URL: "redis://:audino@redis:6379/0"
ports:
- 5000:5000
depends_on:
Expand Down Expand Up @@ -47,10 +47,10 @@ services:
- ./mysql:/mysql
- mysql_data:/var/lib/mysql
environment:
MYSQL_DATABASE: "sat"
MYSQL_DATABASE: "audino"
MYSQL_ROOT_PASSWORD: "root"
MYSQL_USER: "sat"
MYSQL_PASSWORD: "sat"
MYSQL_USER: "audino"
MYSQL_PASSWORD: "audino"
command: --init-file=/mysql/create_database.sql --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
networks:
- backend-network
Expand All @@ -60,7 +60,7 @@ services:
volumes:
- redis_data:/data
environment:
REDIS_PASSWORD: "sat"
REDIS_PASSWORD: "audino"
ports:
- 6379:6379
networks:
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ services:
environment:
ADMIN_USERNAME: "admin"
ADMIN_PASSWORD: "password"
DATABASE_URL: "mysql+pymysql://sat:sat@mysql/sat?charset=utf8mb4"
DATABASE_URL: "mysql+pymysql://audino:audino@mysql/audino?charset=utf8mb4"
UPLOAD_FOLDER: "/root/uploads"
FLASK_APP: "app.py"
FLASK_DEBUG: 1
FLASK_ENV: "development"
SECRET_KEY: "randomkeygoeshere"
JWT_SECRET_KEY: "secretkey"
JWT_REDIS_STORE_URL: "redis://:sat@redis:6379/0"
JWT_REDIS_STORE_URL: "redis://:audino@redis:6379/0"
depends_on:
- mysql
- redis
Expand Down Expand Up @@ -45,10 +45,10 @@ services:
- ./mysql:/mysql
- mysql_prod_data:/var/lib/mysql
environment:
MYSQL_DATABASE: "sat"
MYSQL_DATABASE: "audino"
MYSQL_ROOT_PASSWORD: "root"
MYSQL_USER: "sat"
MYSQL_PASSWORD: "sat"
MYSQL_USER: "audino"
MYSQL_PASSWORD: "audino"
command: --init-file=/mysql/create_database.sql --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
networks:
- backend-network
Expand All @@ -58,7 +58,7 @@ services:
volumes:
- redis_data:/data
environment:
REDIS_PASSWORD: "sat"
REDIS_PASSWORD: "audino"
networks:
- backend-network

Expand Down
4 changes: 2 additions & 2 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Speech annotation tool" />
<meta name="description" content="Audino" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
Expand All @@ -21,7 +21,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Speech Annotation Tool</title>
<title>Audino</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
4 changes: 2 additions & 2 deletions frontend/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "sat",
"name": "Speech Annotation Tool",
"short_name": "audino",
"name": "Audino",
"icons": [
{
"src": "favicon.ico",
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ class App extends React.Component {
return (
<Router>
<div className="app">
<Helmet
titleTemplate="%s | Speech Annotation Tool"
defaultTitle="Speech Annotation Tool"
></Helmet>
<Helmet titleTemplate="%s | Audino" defaultTitle="Audino"></Helmet>
<NavBar />
<Switch>
<Route
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/containers/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class NavBar extends React.Component {
return (
<nav className="navbar navbar-expand-lg navbar-dark bg-dark">
<Link to="/" className="navbar-brand">
Speech Annotation Tool
Audino
</Link>
{isUserLoggedIn && (
<div>
Expand Down
2 changes: 1 addition & 1 deletion mysql/create_database.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CREATE DATABASE IF NOT EXISTS sat CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE DATABASE IF NOT EXISTS audino CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;

0 comments on commit 17dff0d

Please sign in to comment.