Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

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

A bare-bones Twitter clone implemented in a single file

NotificationsYou must be signed in to change notification settings

Gabriella439/simple-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a project which has correspondingtalk slides

This is a bare bones "Twitter clone" implemented inasingle file that you can deploy to EC2

This uses:

The result looks like this:

Screenshot

Instructions

  1. Create an AWS account

    ... by followingthese instructions

  2. Install Nix:

    $ curl https://nixos.org/nix/install| sh
  3. Install the AWS command-line interface:

    $ nix-env --install awscli
  4. Configure your AWS credentials

    ... by followingthese instructions

    If you did this correctly you should have an~/.aws/credentialsfile that looks similar to this:

    [default]aws_access_key_id = …aws_secret_access_key = …
  5. Install NixOps:

    $ nix-env --install nixops
  6. Build and redeploy the web application

    $ nixops create --deployment simple-twitter simple-twitter.nix$ nixops deploy --deployment simple-twitter --allow-reboot

If you make changes you can redeploy the application by re-running the laststep:

$ nixops deploy --deployment simple-twitter --allow-reboot

To destroy the machine and clean up everything, run:

$ nixops destroy --deployment simple-twitter$ nixops delete --deployment simple-twitter

Have fun! 🙂

Split files

You can also view the files split out by language:

About

A bare-bones Twitter clone implemented in a single file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp