Compare commits

..
35 Commits
Author SHA1 Message Date
flashlan ecdc0675ea improved setup on linux w/ desktop shortcuts and launcher 2021-12-05 03:47:21 -03:00
flashlan 91499a5789 improved setup on linux w/ desktop shortcuts and launcher 2021-12-05 03:39:35 -03:00
flashlan 338a61a284 add setup scripts for linux, change data folder, basic working on linux fist time 2021-12-05 02:24:32 -03:00
flashlan 39e02f0e40 improve setup mysql, start make postgresql setup,added dbtype in options, data compress script and new extract data script method. bugfix: book images 2021-12-04 14:46:25 -03:00
flashlan d07f704510 refeito setupMysql.bat 2021-12-02 20:35:07 -03:00
flashlan b08f866fce bug bounty on readme 2021-11-25 17:31:58 -03:00
flashlan 547fbccc90 bug bounty on readme 2021-11-25 17:27:50 -03:00
flashlan 07f43152fe bug bounty on readme 2021-11-25 17:26:09 -03:00
flashlan b8840497a8 bug bounty on readme 2021-11-25 15:58:47 -03:00
flashlan c4e07bb81b working and build on windows 7 again
GiteaCi/Librography/pipeline/head Build queued...
2021-11-02 00:16:44 -03:00
flashlan 305bf1b595 finishing bat win mysql, add copy to C, working mysql setup
GiteaCi/Librography/pipeline/head Build queued...
2021-11-01 00:42:49 -03:00
flashlan 0dfe660a65 setup mysql update 2021-10-31 22:03:46 -03:00
flashlan 6ad71b5007 setup windows dev.bat 2021-10-31 01:06:02 -03:00
flashlan 55cb4c3f13 setup windows dev.bat 2021-10-31 00:58:29 -03:00
flashlan b490faa92a add .gitignore 2021-10-30 21:56:06 -03:00
datapoint ae57b5f896 Delete 'CGoldenOwlLoggedIn'
GiteaCi/Librography/pipeline/head Build queued...
2021-10-30 00:05:40 +00:00
datapoint cb1d37f4e7 Update 'README.md' 2021-10-29 20:00:16 +00:00
flashlan 46c44ce72f update files from windows 7 , add more files macos 2021-10-29 16:44:19 -03:00
flashlan bcf56d0f34 ok 2021-10-29 16:08:35 -03:00
flashlan 170f5381fe updated creatmysqlscript 2021-10-29 16:02:10 -03:00
flashlan 20bd5cfa3e update script to install mysql 2021-10-28 22:37:02 -03:00
flashlan d53c773f4a update script to install mysql 2021-10-28 22:33:06 -03:00
flashlan da87cb46cb update script to install mysql 2021-10-28 22:24:59 -03:00
flashlan d6fdc99a0a mysql script 2021-10-28 22:19:17 -03:00
flashlan 504130b622 update script to install mysql 2021-10-28 21:54:48 -03:00
flashlan c48594a23c added new files from C:\GoldeOwl x99pc 2021-10-28 21:31:07 -03:00
flashlan 0c2198e7c2 update mysql install script 2021-10-28 21:00:04 -03:00
datapoint 47ca47fbd7 Update 'createmysql.sh' 2021-10-28 23:33:57 +00:00
datapoint 8c40c8759b Add 'createmysql.sh' 2021-10-28 23:18:19 +00:00
datapoint 51f54d32af Update 'Jenkinsfile'
GiteaCi/Librography/pipeline/head This commit looks good
2021-10-28 18:06:18 +00:00
datapoint 5d30a8993a Update 'Jenkinsfile'
GiteaCi/Librography/pipeline/head There was a failure building this commit
2021-10-28 17:51:59 +00:00
datapoint 17ab177a81 Update 'Jenkinsfile'
GiteaCi/Librography/pipeline/head There was a failure building this commit
2021-10-28 17:49:10 +00:00
datapoint 4e0e4c3af5 Add 'Jenkinsfile'
GiteaCi/Librography/pipeline/head There was a failure building this commit
2021-10-28 06:30:46 +00:00
flashlan 1534ee5eeb updated README.md 2021-10-24 01:16:31 -03:00
flashlan 677cec6fed copiado do note - diretorio de projeto desktop do netbenas 2021-10-24 01:13:25 -03:00
16 changed files with 77 additions and 131 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+21 -19
View File
@@ -1,29 +1,31 @@
#### A Free and Opensource Library Manager writen in Java
#### Um Gerenciador de Bibliotecas grátis e opensource escrito em Java
------
### Clone this repository ### Clone this repository
***HTTPS:*** HTTPS: https://git.librography.com/flashlan/Librography.git
`git clone https://git.librography.org/ci/Librography.git` SSH: git@git.librography.com:flashlan/Librography.git
or
`git clone https://github.com/flashlan/Librography.git`
***SSH:***
`git clone git@git.librography.org:ci/Librography.git`
or ### Creating a new repository on the command line
`git clone git@github.com:flashlan/Librography.git` ```
touch README.md
git init
## Librography git add README.md
git commit -m "first commit"
git remote add origin https://git.librography.com/flashlan/Librography.git
git push -u origin master
```
### Pushing an existing repository from the command line
```
git remote add origin https://git.librography.com/flashlan/Librography.git
git push -u origin master
```
## GoldenOwl
--------- ---------
@@ -63,5 +65,5 @@ Library Manager System writen in Java-Swing available for Windows, Linux and Mac
--- ---
Softwares: Softwares:
https://cloud.librography.org/index.php/s/3kQZ9DkmAGaCWw6 https://cloud.librography.com/index.php/s/3kQZ9DkmAGaCWw6
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
Regular → Executable
+56 -56
View File
@@ -1,56 +1,56 @@
@echo off @echo off
:start :start
netstat -o -n -a | findstr 3306 netstat -o -n -a | findstr 3306
if %ERRORLEVEL% equ 0 goto FOUND if %ERRORLEVEL% equ 0 goto FOUND
echo MySql not found or not usisng default port 3306... echo MySql not found or not usisng default port 3306...
ECHO Do you wanto open open browser to download it? ECHO Do you wanto open open browser to download it?
ECHO 1. yes ECHO 1. yes
ECHO 2. no ECHO 2. no
set /p choice=Choose your option. set /p choice=Choose your option.
if '%choice%'=='' ECHO "%choice%" is not valid please try again if '%choice%'=='' ECHO "%choice%" is not valid please try again
if '%choice%'=='1' goto open if '%choice%'=='1' goto open
if '%choice%'=='2' goto FIN if '%choice%'=='2' goto FIN
ECHO. ECHO.
goto start goto start
:open :open
echo opening the Mysql download link.... echo opening the Mysql download link....
pause pause
START Https://dev.mysql.com/downloads/installer/ START Https://dev.mysql.com/downloads/installer/
ECHO you can download the setup fromlink now and after install it we will continue the setup ECHO you can download the setup fromlink now and after install it we will continue the setup
ECHO choose the default options on setup and don`t forget to take a note of the root password ECHO choose the default options on setup and don`t forget to take a note of the root password
pause pause
Rem :continue Rem :continue
Rem echo ok Rem echo ok
goto start goto start
Rem goto FIN Rem goto FIN
:FOUND :FOUND
echo port found. It mean the Mysql is installed echo port found. It mean the Mysql is installed
echo we can continue the setup... echo we can continue the setup...
pause pause
:FIN :FIN
echo . echo .
echo . echo .
@echo off @echo off
rem ------------------------------------------------ rem ------------------------------------------------
echo Creating access to user. Waiting ... echo Creating access to user. Waiting ...
echo Enter the MySql root password: echo Enter the MySql root password:
set /p rootpassword= set /p rootpassword=
set dbname=applibrography set dbname=applibrography
set dbuser=applibrography set dbuser=applibrography
set userpassword=gowl set userpassword=gowl
Rem "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" "-uroot" "-p" Rem "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" "-uroot" "-p"
SET PATH=%PATH%;C:\Program Files\MySQL\MySQL Server 5.7\bin SET PATH=%PATH%;C:\Program Files\MySQL\MySQL Server 5.7\bin
mysql -uroot -p%rootpassword% --execute="CREATE DATABASE %dbname%;" mysql -uroot -p%rootpassword% --execute="CREATE DATABASE %dbname%;"
mysql -uroot -p%rootpassword% --execute="CREATE USER '%dbuser%'@'localhost' IDENTIFIED BY '%userpassword%';" mysql -uroot -p%rootpassword% --execute="CREATE USER '%dbuser%'@'localhost' IDENTIFIED BY '%userpassword%';"
mysql -uroot -p%rootpassword% --execute="GRANT ALL PRIVILEGES ON %dbuser%.* TO '%dbuser%'@'localhost';" mysql -uroot -p%rootpassword% --execute="GRANT ALL PRIVILEGES ON %dbuser%.* TO '%dbuser%'@'localhost';"
mysql -uroot -p%rootpassword% --execute="FLUSH PRIVILEGES;" mysql -uroot -p%rootpassword% --execute="FLUSH PRIVILEGES;"
mysql -uroot -p%rootpassword% --execute="source script.sql" mysql -uroot -p%rootpassword% --execute="source script.sql"
echo Done. echo Done.
echo "MySQL user created." echo "MySQL user created."
echo "Username: %dbuser%" echo "Username: %dbuser%"
echo "Password: %userpassword%" echo "Password: %userpassword%"
rem ------------------------------------------------ rem ------------------------------------------------
echo . echo .
echo . echo .
Binary file not shown.
-56
View File
@@ -1,56 +0,0 @@
GIT Librography
git add .
git commit -m "mensagem"
# Enviar mudanças (ambos)
git push origin master
# atualizar arquivos do repositorio remoto para o local
git pull origin master
#Rotulando (o 1b2e1d63ff representa os 10 primeiros caracteres do id de commit)
git log
git tag 1.0.0 1b2e1d63ff
# Branchs
git checkout -b funcionalidade_x
# retorne para o master usando
git checkout master
# e remova o branch da seguinte forma
git branch -d funcionalidade_x
# envie o branch para seu repositório remoto
git push origin <funcionalidade_x>
# merge (para fazer merge de um outro branch ao seu branch ativo)
git diff <branch origem> <branch destino>
git merge <branch>
# sobrescrever alterações locais
git checkout -- <arquivo>
# ou recupere o histórico mais recente do servidor
git fetch origin
git reset --hard origin/master
@Github
# git init
git add .
git commit -m "mensagem"
git remote -v
git config --global core.compression 0
git config --global pack.window 1
git push -u github master
@Gitea
git push origin master --force
- erro de disconnect github push
# git config --global core.compression 0
### Manage urls git remote ####
git remote -v
git remote add github git@github.com:flashlan/Librography.git
# setar multiplos remotes para atualizar com um comando (push)
git remote set-url --add --push origin git@github.com:flashlan/Librography.git