Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ran it locally, explored the folder structure, started the admin panel, and created a sample content type.

NotificationsYou must be signed in to change notification settings

AdarshDogra-CloudDevops/Strapi-task-01

Repository files navigation

📌 Objective

Clone the Strapi repository, run it locally, explore the folder structure, start the admin panel, create a sample content type, and push the setup to GitHub with documentation.


📁 Project Overview

This project demonstrates a complete local setup ofStrapi v3, a Node.js-based headless CMS. The goal was to:

  • Set up Strapi manually on a cloud-based Ubuntu machine
  • Understand its internal structure and workflow
  • Run the Strapi admin panel
  • Create a sample content type
  • Host the full working codebase on GitHub with documentation

⚙️ Tools & Environment Used

ToolVersion
Cloud ProviderAWS EC2 (Ubuntu 22.04 - Free Tier t2.micro)
Node.jsv14.21.3
Yarn1.22.22
Strapiv3.6.11 (manual install vianpx)
GitVersion-controlled via GitHub
Browser AccessEC2 Public IP on Port 1337

🛠️ Installation & Setup Steps

✅ 1. Launch EC2 (Free Tier)

  • Ubuntu 22.04 instance with public IP
  • Open inbound port1337 in the EC2 Security Group

✅ 2. Install Required Software

sudo apt update&& sudo apt upgrade -ycurl -sL https://deb.nodesource.com/setup_14.x| sudo -E bash -sudo apt install -y nodejs build-essential git yarn✅ 3. Create Strapi v3 Appnpx create-strapi-app@3.6.11 Strapi-task-01 --quickstart--quickstart automatically installs dependencies and starts the server.✅ 4. Access the Admin PanelOpen browser:http://<Your-EC2-Public-IP>:1337/adminRegister the first admin user (Strapi UI will prompt) Sample Content Type CreatedIn the Strapi Admin Panel:Created a Content Type: My first collection📁 Project Folder StructureStrapi-task-01/├── api/# APIs for content types├── config/# Configuration for server, database, etc.├── public/# Static files├── admin/# Admin panel frontend├── src/# Source files├── package.json# Node project config├── yarn.lock# Dependency lock└── README.md# Documentation🚀 How to Run Again# From project rootcd Strapi-task-01yarn developVisit: http://<EC2-IP>:1337/admin✅ AWS Free Tier ConfirmedEC2: t2.micro instance (Free Tier eligible)No RDS, no load balancer, no extra paid resources used

About

Ran it locally, explored the folder structure, started the admin panel, and created a sample content type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp