3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00
Go to file
2019-04-16 18:11:20 -04:00
c++/app4triqs Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
doc [doc] Small fix in conf.py.in 2019-04-16 18:11:20 -04:00
python/app4triqs Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
share [cmake] Remove remainders of separate cpp2py install (now included with triqs) 2019-04-16 11:17:17 -04:00
test [cmake] Fix in specification of working directory for python tests 2019-04-12 18:06:44 -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 Bump cpp2py version requirement 2019-04-16 16:56:44 -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] check branch name in simpler way 2019-04-16 17:41:46 -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