Nothing Special   »   [go: up one dir, main page]

Skip to content

Brand new website for Tox's promotion with lot of improvements!

License

Notifications You must be signed in to change notification settings

ToxWebsite/tox.chat

Repository files navigation

Tox Website

I decided to make a new website for Tox because the current one is weird and not userfriendly.
Also, the audience we target is not tech-savvy so the website must be clear and not redundant.

Disclaimer

First, the website is NOT static.
It uses AdonisJS for the back-end. Sass is used for the front-end styling.

You can find the static version that serves mostly for design here.

Live demo (beta.tox.chat)

Building

This use Adonis as a build tool so you need to run the following:

# Clone the repo and install dependencies
git clone https://github.com/ToxWebsite/tox.chat.git
cd tox-chat

npm install -g @adonisjs/cli
npm install

# Start the webserver !
adonis serve --dev --debug

Now you can access it by clicking on http://127.0.0.1:3333. You can change the port by passing a PORTenv variable.

Enabling live reload

If you want to contribute, chances are you need live reload of sass and resources. That is super simple to do of course. You just need to run the following command in a new terminal/tab while keeping the webserver open.

# Start Gulp to watch for file change and do processing.
gulp watch

Testing

Tests are super easy to write and are located in the test folder. To run tests, run the following in project root.

# Run tests
adonis test

CLI Commands

AdonisJs allows us to define commands to help developing faster. Here's a list of the currently available ones. This might be outdated so feel free to run adonis --help in the project root.

  • create:user - Start an interactive shell to create an user.
  • create:blog:category - Start an interactive shell to create a blog tag.
  • create:blog:post - Start an interactive shell to create a blog post.

Translating

We use OneSky to handle the translation process.
Feel free to help by going on our translation page ! :)

If you don't like OneSky you can always send a pull-request :)

Sponsors

We are proudly powered by BrowserStack, they offer us a Sponsored account to test and debug the new Tox website. It's awesome and I'd personally like to thanks them for this!

License

This project is under the MIT License, so feel free to contribute or fork.

About

Brand new website for Tox's promotion with lot of improvements!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published