- Clone the repo locally:
git clone https://github.com/SocialGouv/ozensemble-site.git
- Set up backend dependencies:
cd ozensemble-site
cd api
yarn
- Set up environment variables:
cp .env.example .env
- Start your project by running the following command:
yarn build
yarn develop
Create your first admin user.
At the root of our project, we have our seed-data.tar
file. We will use it to update the schema for our Strapi app.
- Import data into your strapi's database:
yarn strapi import -f ../seed-data.tar.gz
Answer y
to The import will delete all assets and data in your database. Are you sure you want to proceed? (y/N)
- After a successful import, rerun your Strapi server.
yarn develop
In your browser, log in to your admin panel. You should see the newly imported content
and collection types
.
- Open up a new terminal session and navigate into your
next-app
folder. Set up frontend dependencies:
cd next-app
yarn
- Create
.env
file:
touch .env
- Paste in the following.
NEXT_PUBLIC_STRAPI_API_URL=http://127.0.0.1:1337
- Start your frontend
yarn dev
-
Strapi sitemap plugin: https://market.strapi.io/plugins/strapi-plugin-sitemap
-
Starpi demo account (Rich application that shows cases how much customization you can have with starpi ): https://strapi.io/demo