<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Strapi &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/strapi/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Mon, 08 Feb 2021 08:24:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.12</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Strapi &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Install Strapi on Ubuntu 18.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-strapi-on-ubuntu-18-04/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 16 Dec 2020 09:00:26 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2704</guid>

					<description><![CDATA[Strapi is the most popular open source CMS. Strapi gives developers the freedom to use their favorite tools and frameworks, allowing editors to easily manage their content and distribute it anywhere. This CMS is designed for build secure apps and API services. Install NodeJS and NPM To get started you [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://strapi.io/">Strapi</a></strong> is the most popular open source CMS. Strapi gives developers the freedom to use their favorite tools and frameworks, allowing editors to easily manage their content and distribute it anywhere. This CMS is designed for build secure apps and API services. </p>



<h2 id="install-nodejs-and-npm" >Install NodeJS and NPM</h2>



<p>To get started you need to install NodeJS and also NPM. To do this, run the following commands:</p>



<pre class="wp-block-code"><code>curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs</code></pre>



<p>To check the NodeJS and NPM versions, you can use the following commands:</p>



<pre class="wp-block-code"><code>node -v &amp;&amp; npm -v
# v10.x.x
# 6.x.x</code></pre>



<p>In order for some NPM packages to work correctly and well, you need to install the <strong>build-essential</strong> package:</p>



<pre class="wp-block-code"><code>sudo apt-get install build-essential</code></pre>



<h2 id="install-mongodb" >Install MongoDB</h2>



<p>Import the MongoDB GPG key into your system. To do this, issue the following command:</p>



<pre class="wp-block-code"><code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6</code></pre>



<p>After you have successfully imported this GPG key, then you need to create a run list file:</p>



<pre class="wp-block-code"><code>echo "deb &#91; arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list</code></pre>



<p>Next, update the list of all packages using the command:</p>



<pre class="wp-block-code"><code>sudo apt-get update</code></pre>



<p>Install all required MongoDB packages:</p>



<pre class="wp-block-code"><code>sudo apt-get install -y mongodb-org</code></pre>



<p>Start MongoDB daemon:</p>



<pre class="wp-block-code"><code>sudo service mongod start</code></pre>



<p>Connect to MongoDB shell:</p>



<pre class="wp-block-code"><code>mongo</code></pre>



<p>Create MongoDB database and select your project name:</p>



<pre class="wp-block-code"><code>use my_api_project_default</code></pre>



<h2 id="install-strapi" >Install Strapi</h2>



<p>To install Strapi, enter the following command:</p>



<pre class="wp-block-code"><code>npm install strapi@alpha -g</code></pre>



<h2 id="create-your-personal-project" >Create Your Personal Project</h2>



<pre class="wp-block-code"><code>strapi new  my_api_project_default</code></pre>



<p>Respond appropriately to the following queries. In our example, we will select MongoDB as our main database, enter the database name that was created earlier and press <strong>ENTER</strong> to select the default options. It will look like this:</p>



<pre class="wp-block-code"><code>Lets configurate the connection to your database:
? Choose your main database: MongoDB
? Database name: my-api-project
? Host: 127.0.0.1
? +srv connection: false
? Port (It will be ignored if you enable +srv): 27017
? Username:
? Password:
? Authentication database (Maybe "admin" or blank):
? Enable SSL connection: false</code></pre>



<p>This will create a new folder named my_api_project_default with the entire file structure of the Strapi application. Then start your server:</p>



<pre class="wp-block-code"><code>strapi start</code></pre>



<p>Now that the Strapi server is running, you can register your first user by going to <strong>http://your_server_ip:1337/admin</strong></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
