Modified readme and added basic run config
This commit is contained in:
parent
2914df4a37
commit
89bbda8f31
4 changed files with 50 additions and 59 deletions
15
.idea/runConfigurations/Main.xml
Normal file
15
.idea/runConfigurations/Main.xml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="Main" type="Application" factoryName="Application">
|
||||||
|
<option name="MAIN_CLASS_NAME" value="org.insa.graphs.gui.MainWindow" />
|
||||||
|
<module name="be-graphes-gui" />
|
||||||
|
<extension name="coverage">
|
||||||
|
<pattern>
|
||||||
|
<option name="PATTERN" value="org.insa.graphs.gui.*" />
|
||||||
|
<option name="ENABLED" value="true" />
|
||||||
|
</pattern>
|
||||||
|
</extension>
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
14
.idea/runConfigurations/Model_Tests.xml
Normal file
14
.idea/runConfigurations/Model_Tests.xml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="Model Tests" type="JUnit" factoryName="JUnit">
|
||||||
|
<module name="be-graphes-model" />
|
||||||
|
<useClassPathOnly />
|
||||||
|
<option name="PACKAGE_NAME" value="" />
|
||||||
|
<option name="MAIN_CLASS_NAME" value="" />
|
||||||
|
<option name="METHOD_NAME" value="" />
|
||||||
|
<option name="TEST_OBJECT" value="package" />
|
||||||
|
<option name="PARAMETERS" value="" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
63
README.md
63
README.md
|
@ -1,62 +1,7 @@
|
||||||
# Graph & Algorithm project — INSA Toulouse
|
# Graph & Algorithm project — INSA Toulouse
|
||||||
|
|
||||||
## How to start?
|
## Group
|
||||||
|
Yohan SIMARD - Arnaud VERGNET
|
||||||
|
|
||||||
You will not be able to use this repository to save your work, you need to copy / import / fork it to
|
## Current State
|
||||||
your favorite Git platform.
|
Just cloned the repo
|
||||||
|
|
||||||
### Importing to [Github](https://github.com), [Bitbucket](https://bitbucket.org) or [Gitlab](https://gitlab.com):
|
|
||||||
|
|
||||||
You first need to register and then log in to the platform you want. The steps to import the project are detailed below:
|
|
||||||
|
|
||||||
#### Github
|
|
||||||
|
|
||||||
1. In the upper-right corner of any page, click the **"+"** icon, then click **Import repository**, or go to [https://github.com/new/import](https://github.com/new/import).
|
|
||||||
2. Paste the following URL in the first input:
|
|
||||||
[https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
|
|
||||||
3. Choose the name you want for the repository.
|
|
||||||
4. Click *Begin import*.
|
|
||||||
5. Wait for completion... Done!
|
|
||||||
|
|
||||||
#### Bitbucket
|
|
||||||
|
|
||||||
1. On the left panel of any page, click the **"+"** icon, then **Repository**, and then **Import**, or directly go to [https://bitbucket.org/repo/import](https://bitbucket.org/repo/import).
|
|
||||||
2. Paste the following URL in the first input (select Git as source if not already selected):
|
|
||||||
[https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
|
|
||||||
3. Choose the name you want for repository, and select Git as the *Version control system*.
|
|
||||||
4. Click *Import repository*.
|
|
||||||
5. Wait for completion... Done!
|
|
||||||
|
|
||||||
#### Gitlab
|
|
||||||
|
|
||||||
1. In the upper-right corner of any page, click the **"+"** icon, then **New project**, or directly go to [https://gitlab.com/projects/new](https://gitlab.com/projects/new).
|
|
||||||
2. Select the **Import project** tab, and then click **Repo by URL** (right-most option).
|
|
||||||
3. Paste the following URL in the first input:
|
|
||||||
[https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
|
|
||||||
4. Choose the name you want for the repository.
|
|
||||||
5. Click *Create project*.
|
|
||||||
6. Wait for completion... Done!
|
|
||||||
|
|
||||||
### Importing to another repository provider *[not recommended]*:
|
|
||||||
|
|
||||||
1. Create a new **empty** repository (no README, no LICENSE) on your provider. Let's assume the URL of your repository is `$URL_REPOSITORY`.
|
|
||||||
2. Clone this repository somewhere:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://gitea.typename.fr/INSA/be-graphes.git
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Go inside the newly cloned repository and update the **remote**:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd be-graphes
|
|
||||||
git remote set-url origin $URL_REPOSITORY
|
|
||||||
```
|
|
||||||
|
|
||||||
4. Push to your repository:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
push -u origin master
|
|
||||||
```
|
|
||||||
|
|
||||||
Another way is to do a bare clone and then mirror it to your repository: [https://help.github.com/articles/importing-a-git-repository-using-the-command-line/](https://help.github.com/articles/importing-a-git-repository-using-the-command-line/)
|
|
17
be-graphes-algos/be-graphes-algos.iml
Normal file
17
be-graphes-algos/be-graphes-algos.iml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||||
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="module" module-name="be-graphes-model" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
Loading…
Reference in a new issue