Removed Nitrous info

This commit is contained in:
Andris Reinman 2016-11-11 13:18:23 +02:00
parent 73f8baa3fb
commit 637b4589a1
4 changed files with 0 additions and 62 deletions

View file

@ -145,16 +145,6 @@ Edit [mailtrain.nginx](setup/mailtrain.nginx) (update `server_name` directive) a
Edit [mailtrain.conf](setup/mailtrain.conf) (update application folder) and copy it to `/etc/init` Edit [mailtrain.conf](setup/mailtrain.conf) (update application folder) and copy it to `/etc/init`
## Nitrous Quickstart
You can quickly create a free development environment for this Mailtrain project in the cloud on www.nitrous.io:
<a href="https://www.nitrous.io/quickstart">
<img src="https://nitrous-image-icons.s3.amazonaws.com/quickstart.png" alt="Nitrous Quickstart" width=142 height=34>
</a>
In the IDE, start Mailtrain via `Run > Start Mailtrain` and access your site via `Preview > 3000`.
## Cloudron ## Cloudron
You can easily install and self-host Mailtrain on the Cloudron to send newsletters from your custom domain: You can easily install and self-host Mailtrain on the Cloudron to send newsletters from your custom domain:

View file

@ -1,13 +0,0 @@
# Setup
Welcome to your Mailtrain project on Nitrous.
## Running the development server:
In the [Nitrous IDE](https://community.nitrous.io/docs/ide-overview), start Mailtrain via "Run > Start Mailtrain".
Now you've got a development server running and can see the output in the Nitrous terminal window. You can open up a new shell or utilize [tmux](https://community.nitrous.io/docs/tmux) to open new shells to run other commands.
## Preview the app
In the Nitrous IDE, open the "Preview" menu and click "Port 3000".

View file

@ -1,30 +0,0 @@
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
sudo apt-add-respository ppa:chris-lea/redis-server
sudo apt-get update
sudo -E apt-get -q -y install mysql-server pwgen redis-server
sudo apt-get clean
MYSQL_PASSWORD=`pwgen -1`
mysql -u root -e "CREATE USER 'mailtrain'@'localhost' IDENTIFIED BY '$MYSQL_PASSWORD';"
mysql -u root -e "GRANT ALL PRIVILEGES ON mailtrain.* TO 'mailtrain'@'%' WITH GRANT OPTION;"
mysql -u mailtrain --password="$MYSQL_PASSWORD" -e "CREATE database mailtrain;"
cat >> config/production.toml <<EOT
[log]
level="error"
[www]
secret="`pwgen -1`"
[mysql]
password="$MYSQL_PASSWORD"
[redis]
enabled=true
EOT
echo "running npm install..."
npm install --no-progress --production
echo "npm install done"

View file

@ -1,9 +0,0 @@
{
"template": "nodejs",
"ports": [3000],
"name": "Mailtrain",
"description": "Self hosted newsletter app.",
"scripts": {
"Start Mailtrain": "cd ~/code/mailtrain && NODE_ENV=production npm start"
}
}