Development Setup
Guide to setup the development environment for the Community Platform
Using Docker Compose
Make sure you have the git command-line tool and Docker installed first, then run the following commands :
Once it's finished you should be asked to create a strapi admin account on localhost:1337. Please create at least an article, a user and add the correct permissions by following the steps here. Then you should be able to access the front end on your localhost:3000.
Without Docker
Back-End
1. Set up environment variables
First, generate a secure token.
Create an env.local
file at the root of this folder with the following content :
2. Setup a Postgres database
Install PostgreSQL.
Please follow the steps presented on the PostgreSQL website to install Postgres.
2. Create a database & a user
3. Install Strapi
From then you should be able to install and launch our strapi app with the following commands :
When Strapi is installed you should be asked to create a Strapi admin account on your localhost:1337
.
Front-End
Create env files
Create an env.local
file at the root of the project with the following content :
Install the package
Run the following commands :
When strapi is installed you should be asked to create a strapi admin account on your localhost:1337.
Then you should be able to install and boot next on localhost:3000.
Last updated