Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
FROM golang:1.8.5-jessie as builder | |
# install xz | |
RUN apt-get update && apt-get install -y \ | |
xz-utils \ | |
&& rm -rf /var/lib/apt/lists/* | |
# install UPX | |
ADD https://github.com/upx/upx/releases/download/v3.94/upx-3.94-amd64_linux.tar.xz /usr/local | |
RUN xz -d -c /usr/local/upx-3.94-amd64_linux.tar.xz | \ | |
tar -xOf - upx-3.94-amd64_linux/upx > /bin/upx && \ | |
chmod a+x /bin/upx |
1) Start by solving a problem with a well-defined customer first | |
2) Don't rebuild what already exists | |
3) Don't spend time budget-gaming ec2 instance types | |
4) Publish a site that allows signups immediately (before anything else gets built) | |
5) Buy a simple web app package that bundles a ton of pages for example: http://lit-coast-9918.herokuapp.com/react12/index.html | |
6) Focus on just one customer type and just one problem (KISS) | |
7) Engage 100 journalists 2 months before you launch (muck rack / pressfriendly.com and or pay someone to do it). Figure out and pitch the story to them before you reach out to them. | |
8) Use fiverr and pay a bunch of bloggers/copywriters to publish and blog a ton of stuff and budget it for at least 6 months | |
9) Start using adroll sooner | |
10) Minify and compress your javascript (I used http://django-compressor.readthedocs.org/en/latest/) |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)