-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b1c44a
commit 82c4b3f
Showing
6 changed files
with
41 additions
and
24 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,21 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
|
||
[*] | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 |
---|---|---|
|
@@ -18,22 +18,11 @@ Install locally the application: | |
git clone [email protected]:betagouv/espace-partenaire.git | ||
``` | ||
|
||
Copy back .env | ||
|
||
``` | ||
cp back/.env.dist back/.env | ||
``` | ||
|
||
Copy front .env | ||
|
||
``` | ||
cp front/.env.dist front/.env | ||
``` | ||
|
||
Install project: | ||
|
||
``` | ||
make i | ||
```sh | ||
$ npm install | ||
$ npm dev # will do a docker compose up ! | ||
$ npm build | ||
$ npm start | ||
``` | ||
|
||
## Start backend | ||
|
@@ -43,13 +32,15 @@ Launch backend | |
``` | ||
make sb | ||
``` | ||
|
||
You can access the project here : http://localhost:3000/welcome | ||
|
||
If you want to launch a the front served by the backend: | ||
|
||
``` | ||
make f | ||
``` | ||
|
||
You can see the static front on http://localhost:3000 | ||
|
||
## Start front end for dev | ||
|
@@ -59,8 +50,8 @@ Launch the project with another node server locally (not on docker this time): | |
``` | ||
make sf | ||
``` | ||
You can access it on http://localhost:3001/ : | ||
|
||
You can access it on http://localhost:3001/ : | ||
|
||
## Global Architecture | ||
|
||
|
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
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