add indications to install server locally

next
nicgirault 2 years ago
parent 50fb74afab
commit ecb9572cd6

@ -24,9 +24,9 @@ The separation between the front-end and the back-end makes it easy to customize
**Option two:** Manual clone
1. Clone this repo: `git clone https://github.com/MieuxVoter/mv-front-nextjs.git`
2. Navigate to the directory and install dependencies: `npm install` or `make`
3. Start a local server: `npm run dev` and open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
1. Clone this repo: `git clone https://github.com/MieuxVoter/mv-front-react.git`
2. Navigate to the directory and install dependencies: `yarn`
3. Start a local server: `yarn dev` and open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
4. Make your changes
5. Deploy your project.
@ -34,6 +34,8 @@ We advise for deploying the project to [Netlify](https://netlify.com), because w
If you decide to deploy your project in another way, please fill a pull-request to guide futur users!
This app is based on [Mieux Voter API](https://github.com/MieuxVoter/mv-api-server-apiplatform/). If you need to install it locally, clone the project and launch it thanks to `docker-compose up`. In this project (`mv-front-react`), create a `.env` file and add `export NEXT_PUBLIC_SERVER_URL='http://localhost'` in it.
## :incoming_envelope: Support for mail
To add support for mail sending, you need to connect the application with a mailing service. For now, we only support [Mailgun](mailgun.com), which offer very competitive prices. You can fill an issue if you require another mailing service.

Loading…
Cancel
Save