-
Notifications
You must be signed in to change notification settings - Fork 56
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 #43 from NexClipper/dev
update for version 3 from Dev branch
- Loading branch information
Showing
77 changed files
with
3,386 additions
and
363,965 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
REACT_APP_API_URL="http://192.168.1.1" | ||
REACT_APP_API_STATUS="y" | ||
|
||
SERVICE_URL="http://192.168.1.1" | ||
CLIENT_ID="90oasnkljfh021nksd" | ||
CLIENT_SECRETS="9j0oaosdlfjlsklkkkkkk" | ||
ORGANIZATION="Exporterhubv3" | ||
SECRET_KEY="asdfasdfa" | ||
ALGORITHM="HS256" |
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 |
---|---|---|
|
@@ -26,4 +26,5 @@ db_data | |
.vscode | ||
.env | ||
|
||
my_settings.py | ||
Miniconda3-latest-Linux-x86_64.sh | ||
my_settings.py |
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,28 @@ | ||
docker_version="latest" | ||
front_tag="release-fe0.3.3" | ||
api_tag="release-api0.2.9" | ||
|
||
|
||
hello: | ||
# | ||
# You can use - build / run / push / all | ||
# | ||
build: | ||
sudo docker build -t nexclipper/exporterhub:${front_tag} ./ --no-cache | ||
sudo docker tag nexclipper/exporterhub:${front_tag} nexclipper/exporterhub:${docker_version} | ||
cd api && sudo docker build -t nexclipper/exporterhub-api:${api_tag} ./ --no-cache && cd .. | ||
sudo docker tag nexclipper/exporterhub-api:${api_tag} nexclipper/exporterhub-api:${docker_version} | ||
run: | ||
sudo docker-compose up | ||
login: | ||
sudo docker login | ||
push: login build | ||
sudo docker push nexclipper/exporterhub:${front_tag} | ||
sudo docker push nexclipper/exporterhub:${docker_version} | ||
sudo docker push nexclipper/exporterhub-api:${api_tag} | ||
sudo docker push nexclipper/exporterhub-api:${docker_version} | ||
|
||
start: | ||
sudo docker-compose down | ||
sudo docker-compose -f ../docker-compose.yml up -d | ||
all: build push run |
This file was deleted.
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
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
Empty file.
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,18 @@ | ||
# Generated by Django 3.1.6 on 2021-03-29 11:46 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('exporter', '0002_exporter_app_name'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='exporter', | ||
name='view_count', | ||
field=models.PositiveIntegerField(default=0), | ||
), | ||
] |
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,18 @@ | ||
# Generated by Django 3.1.3 on 2021-03-29 14:29 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('exporter', '0003_exporter_view_count'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='exporter', | ||
name='description', | ||
field=models.TextField(null=True), | ||
), | ||
] |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
from django.urls import path | ||
from .views import CategoryView, ExporterView, ExporterDetailView | ||
from .views import CategoryView, ExporterView, ExporterDetailView, ExporterTabView | ||
|
||
urlpatterns = [ | ||
path('/categories', CategoryView.as_view()), | ||
path('', ExporterView.as_view()), | ||
path('/<int:exporter_id>', ExporterDetailView.as_view()), | ||
] | ||
path('/<int:exporter_id>/tab', ExporterTabView.as_view()), | ||
] |
Oops, something went wrong.