3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 00:15:00 +02:00
Go to file
2019-04-25 13:56:12 -04:00
c++/app4triqs Remove warning about unused variable 2019-04-25 13:52:22 -04:00
doc [doc] install and first page + github logo 2019-04-25 13:56:12 -04:00
python/app4triqs [cmake] Avoid use of list(FILTER ..) to restore cmake version 3.0.2 compatibility 2019-04-25 13:54:23 -04:00
share [cmake] Remove remainders of separate cpp2py install (now included with triqs) 2019-04-16 11:17:17 -04:00
test We should be using the triqs::gtest target for linking 2019-04-22 11:25:20 -04:00
.clang-format First draft of the triqs application skeleton 2018-03-22 18:16:10 +01:00
.clang-tidy Further cleanining, switching to static library 2018-03-26 00:31:39 +02:00
.dockerignore Add .dockerignore 2018-06-01 11:12:35 -04:00
.travis.yml [cmake] Remove remainders of separate cpp2py install (now included with triqs) 2019-04-16 11:17:17 -04:00
ChangeLog.md [doc] Fix few doc problems, add changelog 2018-06-03 22:28:55 -04:00
CMakeLists.txt [cmake] Add -Wextra compiler warnings globally 2019-04-22 11:24:53 -04:00
COPYING.txt Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
Dockerfile [jenkins] Add CTEST_OUTPUT_ON_FAILURE=1 2018-11-29 14:20:35 -05:00
Jenkinsfile [jenkins] only update docker submodule if it exists 2019-04-24 14:08:48 -04:00
LICENSE.txt Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
README.md Update README to account for alternate rename commands 2019-04-15 16:45:21 -04:00

app4triqs

An example application using cpp2py and triqs

To use this skeleton for a new triqs application, the following steps are necessary:

git clone https://github.com/triqs/app4triqs --branch unstable mynewapp
cd mynewapp
git remote set-url origin https://github.com/myuser/mynewapp
find . -type f | grep -v .git | xargs sed -i 's/app4triqs/mynewapp/g; s/APP4TRIQS/MYNEWAPP/g'
find . -type d | grep -v .git | xargs rename app4triqs mynewapp
find . -type f | grep -v .git | xargs rename app4triqs mynewapp
git add -A
git commit -m "Create mynewapp from github.com/triqs/app4triqs skeleton"
git push

Depending on which version of the rename command you are using you may need to replace the aforementioned rename commands as follows

find . -type d | grep -v .git | xargs rename 's/app4triqs/mynewapp/'
find . -type f | grep -v .git | xargs rename 's/app4triqs/mynewapp/'

If you prefer to use the SSH interface to the remote repository, replace the http link accordingly

https://github.com/myuser/mynewapp   -->   git@github.com:myuser/mynewapp