You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-48Lines changed: 32 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,91 +14,75 @@ Strap yourself in! You can get started with this project on your local machine b
14
14
15
15
## 1. Clone Launchpad
16
16
17
-
To infinity and beyond! 🚀 Clone the repo with this command:
17
+
To infinity and beyond! 🚀 Before you take off, clone the repo and set it up:
18
18
19
-
```
19
+
```sh
20
20
git clone https://github.com/strapi/launchpad.git
21
+
cd launchpad
22
+
yarn
23
+
yarn run setup
21
24
```
22
25
23
-
- Navigate to your project folder by running `cd launchpad`.
24
-
25
-
## 2. Set up environment variables
26
+
This will clone the repo, install dependencies in both projects (Strapi and Next.js), and run the `setup` scripts to get you started.
26
27
27
-
Before you take off, set up the required environment variables for both Strapi and Next.js.
28
+
## 2. Start Strapi
28
29
29
-
To create the Strapi .env file, copy the content of the `./strapi/.env.example` file into a new file named `./strapi/.env`, then modify the values to match your setup:
30
+
Navigate to your `./launchpad/strapi` folder and start the server:
30
31
31
32
```sh
32
-
cp ./strapi/.env.example ./strapi/.env
33
-
```
34
-
35
-
Then do the same for the Next.js .env file, and modify it too:
36
-
37
-
```sh
38
-
cp ./next/.env.example ./next/.env
39
-
```
40
-
41
-
## 3. Start Strapi
42
-
43
-
Take a deep breath. It's time to power up the Strapi engines. Navigate to your ./my-projects/launchpad/strapi folder by running:
44
-
45
-
Navigate to your `./my-projects/launchpad/strapi` folder by running `cd strapi` from your command line.
46
-
47
-
- Run the following command in your `./launchpad/strapi` folder:
48
-
49
-
```
50
-
yarn && yarn seed && yarn develop
33
+
cd strapi
34
+
yarn dev
51
35
```
52
36
53
-
This will install dependencies, sprinkle in some data magic, and run the server. (You can run these commands separately, but why not be efficient?)
37
+
This will install dependencies, sprinkle in some data magic, and run the server.
54
38
55
-
## 4. Start Next.js
39
+
## 3. Start Next.js
56
40
57
41
We're almost ready for lift-off! Next.js is your sleek, futuristic interface for getting all that glorious content out into the world. 🚀
58
42
59
-
Open a new terminal tab or window to leave Strapi running, and navigate to your `./my-projects/launchpad/next`folder by running `cd next`.
43
+
Open a new terminal tab or window to leave Strapi running, and navigate to your `./launchpad/next`and start the server:
60
44
61
-
- Run the following command in your `./launchpad/next` folder
62
-
63
-
```
64
-
yarn && yarn build && yarn start
45
+
```sh
46
+
cd next
47
+
yarn dev
65
48
```
66
49
67
50
This installs dependencies, builds your project, and starts your server. You’re now a spacefaring content master!
68
51
52
+
You're all set! Visit http://localhost:1337/admin to create your first Strapi user, and http://localhost:3000 to discover your space rocket website.
53
+
69
54
## Features Overview ✨
70
55
71
56
### User
72
57
73
58
<br />
74
59
75
-
**An intuitive, minimal editor** The editor allows you to pull in dynamic blocks of content. It’s 100% open-source, and it’s fully extensible.<br />
76
-
**Media Library** Upload images, video or any files and crop and optimize their sizes, without quality loss.<br />
77
-
**Flexible content management** Build any type of category, section, format or flow to adapt to your needs. <br />
78
-
**Sort and Filter** Built-in sorting and filtering: you can manage thousands of entries without effort.<br />
79
-
**User-friendly interface** The most user-friendly open-source interface on the market.<br />
80
-
**SEO optimized** Easily manage your SEO metadata with a repeatable field and use our Media Library to add captions, notes, and custom filenames to optimize the SEO of media assets.<br /><br />
60
+
-**An intuitive, minimal editor** The editor allows you to pull in dynamic blocks of content. It’s 100% open-source, and it’s fully extensible.<br />
61
+
-**Media Library** Upload images, video or any files and crop and optimize their sizes, without quality loss.<br />
62
+
-**Flexible content management** Build any type of category, section, format or flow to adapt to your needs. <br />
63
+
-**Sort and Filter** Built-in sorting and filtering: you can manage thousands of entries without effort.<br />
64
+
-**User-friendly interface** The most user-friendly open-source interface on the market.<br />
65
+
-**SEO optimized** Easily manage your SEO metadata with a repeatable field and use our Media Library to add captions, notes, and custom filenames to optimize the SEO of media assets.<br /><br />
81
66
82
67
### Global
83
68
84
69
<br />
85
70
86
-
[Customizable API](https://strapi.io/features/customizable-api): Automatically build out the schema, models, controllers for your API from the editor. Get REST or GraphQL API out of the box without writing a single line of code.<br />
87
-
[Media Library](https://strapi.io/features/media-library): The media library allows you to store your images, videos and files in your Strapi admin panel with many ways to visualize and manage them.<br />
88
-
[Role-Based Access Control (RBAC)](https://strapi.io/features/custom-roles-and-permissions): Role-Based Access Control is a feature available in the Administration Panel settings that let your team members have access rights only to the information they need.<br />
89
-
[Internationalization (i18n)](https://strapi.io/features/internationalization): Internationalization (i18n) lets you create many content versions, also called locales, in different languages and for different countries.<br />
90
-
[Audit Logs](https://strapi.io/blog/reasons-and-best-practices-for-using-audit-logs-in-your-application)The Audit Logs section provides a searchable and filterable display of all activities performed by users of the Strapi application<br />
91
-
[Data transfer](https://strapi.io/blog/importing-exporting-and-transferring-data-with-the-strapi-cli) Streams your data from one Strapi instance to another Strapi instance.<br />
92
-
[Review Worfklows](https://docs.strapi.io/user-docs/settings/review-workflows) Create and manage any desired review stages for your content, enabling your team to collaborate in the content creation flow from draft to publication. <br />
71
+
-[Customizable API](https://strapi.io/features/customizable-api): Automatically build out the schema, models, controllers for your API from the editor. Get REST or GraphQL API out of the box without writing a single line of code.<br />
72
+
-[Media Library](https://strapi.io/features/media-library): The media library allows you to store your images, videos and files in your Strapi admin panel with many ways to visualize and manage them.<br />
73
+
-[Role-Based Access Control (RBAC)](https://strapi.io/features/custom-roles-and-permissions): Role-Based Access Control is a feature available in the Administration Panel settings that let your team members have access rights only to the information they need.<br />
74
+
-[Internationalization (i18n)](https://strapi.io/features/internationalization): Internationalization (i18n) lets you create many content versions, also called locales, in different languages and for different countries.<br />
75
+
-[Audit Logs](https://strapi.io/blog/reasons-and-best-practices-for-using-audit-logs-in-your-application): The Audit Logs section provides a searchable and filterable display of all activities performed by users of the Strapi application<br />
76
+
-[Data transfer](https://strapi.io/blog/importing-exporting-and-transferring-data-with-the-strapi-cli): Streams your data from one Strapi instance to another Strapi instance.<br />
77
+
-[Review Worfklows](https://docs.strapi.io/user-docs/settings/review-workflows): Create and manage any desired review stages for your content, enabling your team to collaborate in the content creation flow from draft to publication. <br />
0 commit comments